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

BackColor

Gets or sets the background color for the Chart control.

BackgroundBrush

Specifies the brush for the chart background.

BkgrImagePos

gets or sets the position and alignment of the chart background image.

ChartBrushes

Specifies the brushes used to draw the charts.

ChartImage

Gets or sets the image drawn as background for the chart's plot area.

ChartImagePos

Gets or sets the position of the image drawn as background of the chart's plot area.

ChartMargins

Gets or sets the margins around the chart.

ChartPens

Specifies the pens for the charts.

ChartSize

Gets the size of the chart.

DataMember

Gets or sets the table used for data binding when the data source is set to a DataSet object.

DataSource

Gets or sets a data source containing the values to be drawn.

EmptyBrush

Gets an empty 'unset' brush to indicate a neutral value when a Brush property should be reset and themes are used.

EmptyPen

Gets an empty 'unset' pen to indicate a neutral value when a Pen property should be reset and 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 type of the legend border.

LegendBorderMargin

Gets or sets the margin between the legend border and the legend labels.

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.

ResizeType

Gets or sets how the chart image is positioned in the control area.

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 chart's subtitle.

SubTitleText

Specifies the text for the chart subtitle.

TextRenderingHint

Specifies the quality, with which text is rendered.

Theme

Gets or sets the style 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 title.

TitleText

Specifies the text for the chart title.

 Protected Properties

  Name Description

DefaultSize

The initial size of the control when it is dropped into a form.

 Public Methods

  Name Description

BeginInit

Starts chart initialization.

ClearData

Removes all labels and numerical data from the chart.

CreateBitmap

Creates a GDI+ bitmap image representing the chart.

CreateMetafile

Creates a WMF image containing the chart.

DataBind

Binds the chart to the data source set in DataSource and DataMember.

EndInit

Ends chart initialization.

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

Resets all pens and brushes used by charts of all types to their default values.

RunWizard

Runs the wizard associated with the given chart type.

SaveToXml

Overloaded. Saves the Chart to an XML file.

UpdateScrollBars

Updates the scrollbar ranges so they correspond to the chart size.

 Protected Methods

  Name Description

Finalize

Destructor.

IsEmptyList

Checks when a list has no members

OnLayout

Control.OnLayout override.

OnPaint

Control.OnPaint override.

OnPaintBackground

Control.OnPainBackground override.

OnResize

Control.OnResize override.

UpdateChart

Overloaded. Redraws the chart.

 See Also

Chart Class
MindFusion.Charting.WinForms Namespace