MindFusion WinForms 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.

BorderCornerRadius

Gets or sets the corner radius of the border of the chart, when it is of type RoundedRect.

BorderType

Gets or sets the border of the chart.

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.

HandleEmptyValue

Gets or sets how the control handles empty data values.

HitTestOffset

Gets or sets the radius of the area that, when clicked, will be treated as a click to the point that is its center.

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.

OutlinePen

Gets or sets the pen used to outline the chart's 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 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

BrushIsEmpty

Checks if the given brush is equal to the EmptyBrush.

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.

ClearTheme

Resets all appearance properties to their default values.

Clone

Creates an exact copy of the current Chart object.

ContainsPoint

Checks if the point is part of the series graphics.

DrawChart

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

getNextPoint

Gets the point right after the given point.

getPrevPoint

Gets the point right before the given point.

HitTest

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

LoadFromXml

Overloaded. Loads the Chart from an XML document.

LoadTheme

Overloaded.  

PenIsEmpty

Checks if the given pen is equal to the EmptyPen.

ResetThemeProperties

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

SaveTheme

Saves the current chart as a XML file under the specified name.

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

Chart Class
MindFusion.Charting Namespace