Charting for WinForms Programmer's Guide
Chart Members
Constructors Fields Properties Methods Events
 


A base class for chart controls.

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

 Protected Constructors

  Name Description

Chart

Overloaded.  

 Protected Fields

  Name Description

TooltipBrush

The System.Drawing.Brush used to fill tooltip's background. (Inherited from Dashboard.)

TooltipPen

The System.Drawing.Pen used to draw tooltip borders. (Inherited from Dashboard.)

 Public Properties

  Name Description

AllowMoveLegend

Gets or sets a value indicating whether users are allowed to move the legend.

AllowZoom

Gets or sets a value indicating whether users are allowed to zoom into plots' data ranges. (Inherited from Dashboard.)

BackgroundImage

Gets or sets dashboard's background image. (Inherited from Dashboard.)

BackgroundImageAlign

Gets or sets the alignment of BackgroundImage relatively to dashboard boundaries. (Inherited from Dashboard.)

BackgroundImageAutoSize

Gets or sets whether auto-size mode is enabled for BackgroundImage. (Inherited from Dashboard.)

ChartPanel

Gets the GridPanel that contains the chart's PlotPanel and axis renderers.

DataSource

Gets or sets the chart's data source.

DateTimeFormat

Gets or sets a value indicating how to format DateTime values as labels.

InnerLabelsDataFields

Gets or sets the names of fields in the data source whose values are shown as inner labels of rendered graphical elements.

LayoutBuilder

Gets a LayoutBuilder instance that provides shortcut methods for building fragments of dashboard's user interface. (Inherited from Dashboard.)

LayoutPanel

Gets a Panel containing dashboard components that should participate in layout measurements and be arranged relatively to each other. (Inherited from Dashboard.)

LegendElementLabelKind

Gets or sets the type of legend label to show for series elements. This property is used for charts that show legend elements for individual data items, such as PieChart and FunnelChart.

LegendHorizontalAlignment

Gets or sets the horizontal alignment of the legend.

LegendMargin

Gets or sets the margin space around the legend.

LegendRenderer

Gets the LegendRenderer component used to draw the chart's legend.

LegendSpacing

Gets or sets the distance between adjacent entries in the legend.

LegendTitle

Gets or sets the legend title.

LegendVerticalAlignment

Gets or sets the vertical alignment of the legend.

LicenseKey

Gets or sets the license key of the control. (Inherited from Dashboard.)

OuterLabelsDataFields

Gets or sets the names of fields in the data source whose values are shown as outer labels of rendered graphical elements.

Plot

Gets the chart's Plot component.

PlotImage

Gets or sets the Image drawn inside chart's plot area.

PlotImageAlign

Gets or sets the alignment of PlotImage relatively to the plot boundaries.

PlotImageAutoSize

Gets or sets whether auto-size mode is enabled for PlotImage.

PlotPanel

Gets the Panel that contains the chart's plot and associated elements.

RootPanel

Gets the root Panel in the hierarchy of dashboard components. (Inherited from Dashboard.)

ShowDataLabels

Gets or sets what kind of labels from data series should be drawn.

ShowHighlight

Gets or sets a value indicating whether to show highlights on data items.

ShowLegend

Gets or sets a value indicating whether the chart should draw a legend.

ShowLegendTitle

Gets or sets a value indicating whether to display the legend title.

ShowToolTips

Gets or sets a value indicating whether to show tooltips.

ShowZoomWidgets

Gets or sets a value indicating whether the plot should show zoom buttons.

Subtitle

Gets or sets the sub-title of this chart.

SubtitleBrush

Gets or sets the Brush used to draw chart's Subtitle.

SubtitleFontName

Gets or sets the name of Font used to draw chart's Subtitle.

SubtitleFontSize

Gets or sets the size of Font used to draw chart's Subtitle.

SubtitleFontStyle

Gets or sets the style of Font used to draw chart's Subtitle.

SubtitleMargin

Gets or sets the margin space around Subtitle.

Theme

Gets or sets a Theme specifying appearance of dashboard elements. (Inherited from Dashboard.)

Title

Gets or sets the title of this chart.

TitleBrush

Gets or sets the Brush used to draw chart's Title.

TitleFontName

Gets or sets the name of Font used to draw chart's Title.

TitleFontSize

Gets or sets the size of Font used to draw chart's Title.

TitleFontStyle

Gets or sets the style of Font used to draw chart's Title.

TitleMargin

Gets or sets the margin space around Title.

ToolTipsDataFields

Gets or sets the names of fields in the data source whose values are shown as tooltips of rendered graphical elements.

XAxisLabelsDataFields

Gets or sets the names of fields in the data source whose values are shown as X axis labels of rendered graphical elements.

XDataFields

Gets or sets the names of fields in the data source whose values are assigned to X coordinates of rendered graphical elements.

YAxisLabelsDataFields

Gets or sets the names of fields in the data source whose values are shown as Y axis labels of rendered graphical elements.

YDataFields

Gets or sets the names of fields in the data source whose values are assigned to Y coordinates of rendered graphical elements.

ZAxisLabelsDataFields

Gets or sets the names of fields in the data source whose values are shown as Z axis labels of rendered graphical elements.

ZDataFields

Gets or sets the names of fields in the data source whose values are assigned to Z coordinates of rendered graphical elements.

 Protected Properties

  Name Description

DataBoundSeries

Contains series generated from DataSource data.

DefaultSize

The initial size of the control when it is dropped into a form. (Inherited from Dashboard.)

SeriesRenderer

Gets the default SeriesRenderer for this chart.

 Public Methods

  Name Description

CreateImage

Overloaded.   (Inherited from Dashboard.)

DataBind

Binds the chart to current DataSource. (Inherited from Dashboard.)

ExportImage

Overloaded.   (Inherited from Dashboard.)

ExportPdf

Overloaded.   (Inherited from Dashboard.)

ExportSvg

Overloaded.   (Inherited from Dashboard.)

HitTest

Searches for a series element at specified location. (Inherited from Dashboard.)

Invalidate

Implements RootControl.InvalidateLayout. Invalidates the specified region of a component. (Inherited from Dashboard.)

InvalidateLayout

Implements RootControl.InvalidateLayout. Invalidates layout of specified component. (Inherited from Dashboard.)

NearestElement

Searches for a series element closest to specified location. (Inherited from Dashboard.)

Print

Overloaded.   (Inherited from Dashboard.)

PrintPreview

Overloaded.   (Inherited from Dashboard.)

ResetZoom

Resets zoom level to original data range.

ZoomOut

Zooms out of current data range.

 Protected Methods

  Name Description

CreatePlot

Creates the Plot type corresponding to this chart.

CreateRenderContext

Creates a RenderContext instance. (Inherited from Dashboard.)

Draw

Draws the dashboard on specified IGraphics surface. (Inherited from Dashboard.)

OnClick

Control.OnClick override. Raises the DataItemClicked event if the user has clicked on data element in a plot. (Inherited from Dashboard.)

OnMouseDown

Control.OnMouseDown override. (Inherited from Dashboard.)

OnMouseMove

Control.OnMouseMove override. (Inherited from Dashboard.)

OnMouseUp

Control.OnMouseUp override. (Inherited from Dashboard.)

OnPaddingChanged

Control.OnPaddingChanged override.

OnPaint

Control.OnPaint override. Draws the components contained by this dashboard. (Inherited from Dashboard.)

OnResize

Control.OnResize override. Invalidates the layout of child components and runs a new layout pass. (Inherited from Dashboard.)

OnSizeChanged

Control.OnSizeChanged override.

 Public Events

  Name Description

DataItemClicked

Raised when the user clicks on a data item inside a plot. (Inherited from Dashboard.)

 See Also

Chart Class
MindFusion.Charting.WinForms Namespace