ASP.NET Pack Programmer's Guide
Chart Members
Constructors Fields Properties Methods
 


A base class for chart controls.

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

 Protected Constructors

  Name Description

Chart

Overloaded.  

 Public Fields

  Name Description

Converters

Gets the list of currently registered serialization converters. (Inherited from Dashboard.)

 Protected Fields

  Name Description

plot

Gets the chart's Plot component.

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

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

BackgroundImageLocation

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

ChartPanel

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

ClientScriptMode

Gets or sets a value indicating which library will be used in the control's client-side scripts. (Inherited from Dashboard.)

ControlLoadedScript

Contains the name of a JavaScript function that should be invoked when the control is loaded on the client side. (Inherited from Dashboard.)

DataItemClickedScript

Contains the name of a JavaScript function that should be invoked when when the user clicks on a data item inside a plot. (Inherited from Dashboard.)

DataSource

Gets or sets the chart's data source.

InnerLabelsDataFields

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

JQueryLocation

Gets or sets the URL to the JQuery script file. (Inherited from Dashboard.)

JsLibraryLocation

Gets or sets the URL to the MindFusion.Charting.js file. (Inherited from Dashboard.)

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

MsAjaxLocation

Gets or sets the URL to the Microsoft Ajax script file. (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.

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.

PlotImageLocation

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

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

SeriesRenderer

Gets the default SeriesRenderer for this chart.

 Public Methods

  Name Description

DataBind

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

FromJson

Loads the control data from JSON string.

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

LoadFromXml

Overloaded.   (Inherited from Dashboard.)

LoadPostData

IPostBackDataHandler.LoadPostData implementation. (Inherited from Dashboard.)

RaisePostDataChangedEvent

IPostBackDataHandler.RaisePostDataChangedEvent implementation. (Inherited from Dashboard.)

RegisterConverters

Registers converters used for JSON serialization of custom item types. (Inherited from Dashboard.)

RegisterCustomType

Registers a custom item class for serialization support. (Inherited from Dashboard.)

SaveToXml

Overloaded.   (Inherited from Dashboard.)

ToJson

Saves the control data to JSON string. (Inherited from Dashboard.)

 Protected Methods

  Name Description

AddAttributesToRender

WebControl.AddAttributesToRender override. (Inherited from Dashboard.)

CreatePlot

Creates the Plot type corresponding to this chart.

IsStartupScriptRegistered

Checks whether startup scripts are already registered on page. (Inherited from Dashboard.)

OnPreRender

Control.OnPreRender override. (Inherited from Dashboard.)

RenderContents

WebControl.RenderContents override. (Inherited from Dashboard.)

 See Also

Chart Class
MindFusion.Charting.WebForms Namespace