Xamarin Pack 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. Initializes a new instance of the Chart class.

 Protected Fields

  Name Description

TooltipBrush

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

TooltipPen

The 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 the format of the values in the series if they are of type DateTime.

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

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.

SeriesRenderer

Gets the default SeriesRenderer for this chart.

 Public Methods

  Name Description

DataBind

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

GetGraphics

For internal use. (Inherited from Dashboard.)

HandleTouchDown

Invoked to handle touch down interactions. (Inherited from Dashboard.)

HandleTouchMove

Invoked to handle touch move interactions. (Inherited from Dashboard.)

HandleTouchUp

Invoked to handle touch up interactions. (Inherited from Dashboard.)

HitTest

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

Invalidate

Overloaded. Repaints the control. (Inherited from Dashboard.)

InvalidateLayout

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

Paint

Draws the dashboard to the specified graphics. (Inherited from Dashboard.)

ResetZoom

Resets zoom level to original data range.

SetTransform

Sets the transformation of the specified graphics to correspond to the dashboard's current unit, zoom and scroll. (Inherited from Dashboard.)

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

OnRepaint

Raises the Repaint event. (Inherited from Dashboard.)

 Public Events

  Name Description

DataItemClicked

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

Repaint

Raised when the dashboard should be repainted. (Inherited from Dashboard.)

 See Also

Chart Class
MindFusion.Charting.Controls Namespace