MindFusion.Charting Programmer's Guide

Chart Members

Constructors Properties Methods
 


Base class for all chart types - bars, pies, areas, lines, or radars.

The following tables list the members exposed by the Chart type.

 Protected Constructors

  Name Description

Chart

Creates a new instance of the Chart class.

 Public Properties

  Name Description

BackgroundBrush

Specifies the brush for the chart background.

ChartBrushes

Specifies the brushes used to draw the charts.

ChartGraphics

Specifies the Graphics object that is used to draw the chart.

ChartMargins

Gets or sets the margins of the chart.

ChartPens

Specifies the pens for the charts.

ChartSize

Specifies the size of the chart's bounding rectangle.

ChartType

Gets the type of the chart.

EmptyBrush

Gets a neutral 'unset' brush to reset a Brush property when themes are used.

EmptyPen

Gets a neutral 'unset' pen to reset a Pen property when themes are used.

FontName

Gets or sets the name of the font for all chart labels.

LabelBrush

Specifies the brush that is used for drawing chart labels.

LabelFont

Specifies the font for drawing the chart labels.

LegendAlignment

Gets or sets the alignment of the legend.

LegendBackgroundBrush

Gets or sets the legend background brush.

LegendBorder

Gets or sets the Border of the legend.

LegendBorderMargin

Gets or sets the margin around the LegendBorder.

LegendBrush

Gets or sets the brush for the legend's bounding rectangle.

LegendColumns

Gets or sets the count of columns in the chart legend.

LegendFont

Gets or sets the font for the chart legend.

LegendGridType

Gets or sets the type of the legend grid.

LegendLabels

Gets or sets the labels for the legend.

LegendOffset

Gets or sets the offset of the chart legend.

LegendPen

Gets or sets the pen for the legend's bounding rectangle.

LegendPosition

Gets or sets the position of the chart legend.

LegendWidth

Gets or sets the width of the legend's rectangle.

LegendWordWrap

Gets or sets whether the words of the legend labels are wrapped.

MultiColored

Specifies whether the chart is drawn in one color or in different colors.

MultiColoredLabels

Specifies whether labels at the chart axes are drawn in different colors.

SortOrder

Specifies the sort order of numbers in chart series.

SortSeriesBy

Specifies the sort order of data series.

SubTitleBrush

Specifies the brush that is used for drawing the chart subtitle.

SubTitleFont

Specifies the font, which is used to draw the chart subtitle. 

SubTitleOffset

Gets or sets the offset of the SubTitleText.

SubTitleText

Specifies the text for the chart subtitle.

TextRenderingHint

Specifies the quality, with which text is rendered.

Theme

Gets or sets the chart Theme.

TitleBrush

Specifies the brush that is used to draw the chart title.

TitleFont

Specifies the font, which is used to draw the chart title.

TitleOffset

Gets or sets the offset of the TitleText.

TitleText

Specifies the text for the chart title.

TopLeftPosition

Specifies the position of the chart in the graphics object.

 Public Methods

  Name Description

CalculateSize

Calculates the size of the chart.

ClearData

Removes all labels and numerical data from the chart.

ClearDataBoundLists

Clears all IList properties that support data binding.

Clone

Creates an exact copy of the current Chart object.

DrawChart

Draws the chart in the object assigned to the Graphics property.

HitTest

Checks whether a point with the particular coordinates is contained inside a chart element.

LoadFromXml

Overloaded. Loads the Chart from an XML document.

ResetThemeProperties

Sets pens and brushes used in themes by all chart types to their default values.

SaveToXml

Overloaded. Saves the Chart to an XML file.

 Protected Methods

  Name Description

CreateChart

Creates a new Chart object.

IsDateTime

Checks if a list contains DateTime values.

 See Also