MindFusion WinForms Programmer's Guide
Chart Members
Constructors Properties Methods Events
 


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.

BorderCornerRadius

Gets or sets the radius for the border of the control, when the type is RoundedRect.

BorderType

Gets or sets the type of the border for the control.

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.

Effects

Gets a collection with all effects applied to the elements of this chart.

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.

HandleEmptyValue

Gets or sets how empty values are handled.

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

LicenseKey

Gets or sets the license key of the control.

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 for drawing the outline of the chart.

ResizeType

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

ShowToolTips

Gets or sets a value indicating whether tooltips are enabled.

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.

ToolTipControl

Gets the control used to display the tool tips.

ToolTipDelay

Gets or sets the time that passes before a tool-tip appears when the mouse hovers over an item.

ToolTipText

Gets or sets tool tip labels shown at chart elements.

ZoomCursor

Gets or sets the zoom cursor for the chart.

 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.

ClearTheme

Resets all properties set by a given theme to their default values.

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.

LoadTheme

Overloaded.  

RegisterClass

Registeres the class using the specified key.

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.

SaveTheme

Save the chart theme to an XML file.

SaveToXml

Overloaded. Saves the Chart to an XML file.

UnregisterClass

Called when the chart is unregistered.

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.

OnMouseDown

Control.OnMouseDown override.

OnMouseEnter

Control.OnMouseLeave override.

OnMouseLeave

Control.OnMouseLeave override.

OnMouseMove

Control.OnMouseMove override.

OnMouseUp

Control.OnMouseUp override.

OnPaint

Control.OnPaint override.

OnPaintBackground

Control.OnPainBackground override.

OnResize

Control.OnResize override.

OnScrollChanged

Raises the ScrollChanged event.

UpdateChart

Overloaded. Redraws the chart.

 Public Events

  Name Description

ScrollChanged

Raised when the chart is scrolled.

 See Also

Chart Class
MindFusion.Charting.WinForms Namespace