Class Chart
Represents the Chart UI element.
Implements
Inherited Members
Namespace: Syncfusion.JavaScript.Web
Assembly: Syncfusion.EJ.Web.dll
Syntax
public class Chart : CommonDataBoundControl, INamingContainer, IPostBackEventHandler, IPostBackDataHandler, IUrlResolutionService
Constructors
Chart()
Declaration
public Chart()
Properties
Annotations
Gets the list of Annotations present which specifies Options for adding and customizing annotations in Chart.
Declaration
public List<Annotations> Annotations { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<Annotations> |
Remarks
List of Annotations in chart. Options for adding and customizing annotations in Chart.
Axes
Gets the list of Axes which specifies List of secondary or additional axis in chart.
Declaration
[JsonProperty("axes")]
public List<Axis> Axes { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<Axis> |
Remarks
List of secondary or additional axis in chart.
Background
Gets or sets the Background of the Chart which specifies the Background of the chart control.
Declaration
[JsonProperty("background")]
public string Background { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Background of the chart.
BackgroundImgUrl
Gets or sets the BackgroundImageUrl which specifies the Url of the image to be used as chart background.
Declaration
[JsonProperty("backGroundImageUrl")]
public string BackgroundImgUrl { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Url of the image to be used as chart background.
CanResize
Gets or sets the CanResize property of the Chart which Controls whether Chart has to be responsive or not.
Declaration
[JsonProperty("canResize")]
public bool CanResize { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
Controls whether Chart has to be responsive or not.
ChartArea
Declaration
[JsonProperty("chartArea")]
public ChartArea ChartArea { get; }
Property Value
Type | Description |
---|---|
ChartArea |
ChartBorder
Gets the Border which specifies Options for customizing the color, opacity and width of the chart border.
Declaration
[JsonProperty("border")]
public LayoutBorder ChartBorder { get; }
Property Value
Type | Description |
---|---|
LayoutBorder |
Remarks
Options for customizing the color, opacity and width of the chart border.
ColumnDefinitions
Gets the ColumnDefinitions property which specifies Options to split Chart into multiple plotting areas vertically
Declaration
[JsonProperty("columnDefinitions")]
public List<ColumnDefinitions> ColumnDefinitions { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<ColumnDefinitions> |
Remarks
Options to split Chart into multiple plotting areas vertically. Each object in the collection represents a plotting area in Chart.
CommonSeriesOptions
Declaration
[JsonProperty("commonSeriesOptions")]
public CommonSeriesOptions CommonSeriesOptions { get; }
Property Value
Type | Description |
---|---|
CommonSeriesOptions |
Crosshair
Declaration
[JsonProperty("crosshair")]
public CrossHair Crosshair { get; }
Property Value
Type | Description |
---|---|
CrossHair |
Depth
Gets or sets the Depth property of the Chart.This property is applicable only for 3D view.
Declaration
[JsonProperty("depth")]
public double Depth { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Remarks
Depth of the 3D Chart from front view of series to background wall. This property is applicable only for 3D view.
ElementSpacing
Gets or sets the ElementSpacing which specifies Spacing between different components like chart area, legend, etc..,
Declaration
[JsonProperty("elementSpacing")]
public double ElementSpacing { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Remarks
Spacing between different components like chart area, legend, etc..,
Enable3D
Gets or sets the Enable3D property of the Chart which Controls whether 3D view has to be enabled or not.
Declaration
[JsonProperty("enable3D")]
public bool Enable3D { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
Controls whether 3D view has to be enabled or not. 3D view is supported only for column, bar. Stacking column, stacking bar, pie and doughnut series types.
EnableCanvasRendering
Gets or sets the EnableCanvasRendering property of the Chart which Controls whether Chart has to be rendered as Canvas or SVG.
Declaration
[JsonProperty("enableCanvasRendering")]
public bool EnableCanvasRendering { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
Controls whether Chart has to be rendered as Canvas or SVG. Canvas rendering supports all functionalities in SVG rendering except 3D Charts.
EnableRotation
Gets or sets the EnableRotation property of the Chart Controls whether 3D view has to be rotated on dragging.
Declaration
[JsonProperty("enableRotation")]
public bool EnableRotation { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
Controls whether 3D view has to be rotated on dragging. This property is applicable only for 3D view.
ExportSettings
Gets the ExportSettings property which specifies Options for exporting feature of char
Declaration
[JsonProperty("exportSettings")]
public ExportSettings ExportSettings { get; }
Property Value
Type | Description |
---|---|
ExportSettings |
Remarks
Options for exporting feature of chart.
Height
Gets or sets the Height of the Chart which specfies the Height of the chart in pixels / percentage
Declaration
public string Height { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Height of the chart in pixels / percentage
Indicators
Gets the list of Indicators present in chart which specifies Options to customize the technical indicators.
Declaration
public List<ChartIndicator> Indicators { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<ChartIndicator> |
Remarks
List of Indicators in chart. Options to customize the technical indicators.
InitSeriesRender
Gets or sets the InitSeriesRender property which Controls whether series should be plotted in chart or not.
Declaration
[JsonProperty("initSeriesRender")]
public bool InitSeriesRender { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
Controls whether series should be plotted in chart or not.
IsResponsive
Gets or sets the IsResponsive property of the Chart which Controls whether Chart has to be responsive or not.
Declaration
[JsonProperty("isResponsive")]
public bool IsResponsive { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
Controls whether Chart has to be responsive or not.
Legend
Gets the Legend which specifies Options to customize the legend items and legend title.
Declaration
[JsonProperty("legend")]
public Legend Legend { get; }
Property Value
Type | Description |
---|---|
Legend |
Remarks
Options to customize the legend items and legend title.
LegendPosition
Declaration
[JsonConverter(typeof(StringEnumConverter))]
public LegendPosition LegendPosition { get; set; }
Property Value
Type | Description |
---|---|
LegendPosition |
Locale
Gets or sets the Locale of chart which Name of the culture based on which chart should be localized.
Declaration
[JsonProperty("locale")]
public string Locale { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Name of the culture based on which chart should be localized. Number and date time values are localized with respect to the culture name. String type properties like title text are not localized automatically. Provide localized text as value to string type properties.
Margin
Gets the Margin which Options to customize the left, right, top and bottom margins of chart area.
Declaration
[JsonProperty("margin")]
public Margin Margin { get; }
Property Value
Type | Description |
---|---|
Margin |
Remarks
Options to customize the left, right, top and bottom margins of chart area.
Model
Declaration
[CLSCompliant(false)]
public ChartProperties Model { get; set; }
Property Value
Type | Description |
---|---|
ChartProperties |
OnChartLoaded
Gets or sets the value for OnChartLoaded property which is Client-side loaded event of Chart.
Declaration
[JsonProperty("loaded")]
public string OnChartLoaded { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Client-side loaded event of Chart.
OnClientAfterResize
Gets or sets the value for OnClientAfterResize property which is Client-side event after resizing Chart.
Declaration
[JsonProperty("afterResize")]
public string OnClientAfterResize { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Client-side event after resizing Chart.
OnClientAnimationComplete
Gets or sets the value for OnClientAnimationComplete property which Fires after the series animation is completed.
Declaration
[JsonProperty("animationComplete")]
public string OnClientAnimationComplete { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Client-side animation complete event of Chart. Fires after the series animation is completed. This event will beis triggered for each series when animation is enabled.
OnClientAnnotationClick
Gets or sets the value for OnClientAnnotationClick property which is Client-side annotation click event of Chart.
Declaration
[JsonProperty("annotationClick")]
public string OnClientAnnotationClick { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Client-side annotation click event of Chart.
OnClientAnnotationRendering
Gets or sets the value for OnClientAnnotationRendering property which is Client-side annotation rendering event of Chart.
Declaration
[JsonProperty("annotationRendering")]
public string OnClientAnnotationRendering { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Client-side annotation rendering event of Chart.
OnClientAreaBoundsCalculate
Gets or sets the value for OnClientAreaBoundsCalculate property of which Fires during the calculation of chart area bounds.
Declaration
[JsonProperty("chartAreaBoundsCalculate")]
public string OnClientAreaBoundsCalculate { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Client-side chartarea bounds calculate event of Chart. Fires during the calculation of chart area bounds. You can use this event to customize the bounds of chart area.
OnClientAxesLabelRendering
Gets or sets the value for OnClientAxesLabelRendering property of chart which Fires before rendering the labels.
Declaration
[JsonProperty("axesLabelRendering")]
public string OnClientAxesLabelRendering { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Client-side axis label rendering event of Chart. Fires before rendering the labels. This event is fired for each label in axis. You can use this event to add custom text to axis labels.
OnClientAxesLabelsInitialize
Gets or sets the value for OnAxesLabelsInitialize property fires during the initialization of axis labels.
Declaration
[JsonProperty("axesLabelsInitialize")]
public string OnClientAxesLabelsInitialize { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Client-side axis labels initialize event of Chart. Fires during the initialization of axis labels.
OnClientAxesRangeCalculate
Gets or sets the value for OnClientAxesRangeCalculate property of chart which Fires during axes range calculation.
Declaration
[JsonProperty("axesRangeCalculate")]
public string OnClientAxesRangeCalculate { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Client-side axis range calculate event of Chart. Fires during axes range calculation. This event is fired for each axis present in Chart. You can use this event to customize axis range as required.
OnClientAxesTitleRendering
Gets or sets the value for OnClientAxesTitleRendering property of chart which Fires before rendering the axis title.
Declaration
[JsonProperty("axesTitleRendering")]
public string OnClientAxesTitleRendering { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Client-side axis title rendering event of Chart. Fires before rendering the axis title. This event is triggered for each axis with title. You can use this event to add custom text to axis title.
OnClientAxisLabelClick
Gets or sets the value for OnClientAxisLabelClick property of chart.Client-side axis label click event of Chart.
Declaration
[JsonProperty("axisLabelClick")]
public string OnClientAxisLabelClick { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Client-side axis label click event of Chart
OnClientAxisLabelMouseMove
Gets or sets the value for OnClientAxisLabelMouseMove property of chart.Client-side axis label mouse move event of Chart.
Declaration
[JsonProperty("axisLabelMouseMove")]
public string OnClientAxisLabelMouseMove { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Client-side axis label mouse move event of Chart
OnClientBeforeResize
Gets or sets the value for OnClientBeforeResize property which is Client-side event before resizing Chart.
Declaration
[JsonProperty("beforeResize")]
public string OnClientBeforeResize { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Client-side event before resizing Chart.
OnClientChartClick
Gets or sets the value for OnClientChartClick property which is Client-side click event of Chart.
Declaration
[JsonProperty("chartClick")]
public string OnClientChartClick { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Client-side click event of Chart.
OnClientChartDoubleClick
Gets or sets the value for OnClientChartDoubleClick property which is Client-side double click event of Chart.
Declaration
[JsonProperty("chartDoubleClick")]
public string OnClientChartDoubleClick { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Client-side double click event of Chart.
OnClientChartMouseLeave
Gets or sets the value for OnClientChartMouseLeave property which is Client-side mouse leave event of Chart.
Declaration
[JsonProperty("chartMouseLeave")]
public string OnClientChartMouseLeave { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Client-side mouse leave event of Chart.
OnClientChartMouseMove
Gets or sets the value for OnClientChartMouseMove property which is Client-side mouse move event of Chart.
Declaration
[JsonProperty("chartMouseMove")]
public string OnClientChartMouseMove { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Client-side mouse move event of Chart.
OnClientCreate
Gets or sets the value for OnClientCreate property which fires Fires after chart is created.
Declaration
[JsonProperty("create")]
public string OnClientCreate { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Client-side create event of Chart. Fires after chart is created.
OnClientDestroy
Gets or sets the value for OnClientDestroy property which Fires when chart is destroyed completely.
Declaration
[JsonProperty("destroy")]
public string OnClientDestroy { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Client-side destroy event of Chart. Fires when chart is destroyed completely.
OnClientDisplayTextRendering
Gets or sets the value for OnClientDisplayTextRendering property which Fires before rendering the data labels.
Declaration
[JsonProperty("displayTextRendering")]
public string OnClientDisplayTextRendering { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Client-side display text rendering event of Chart. Fires before rendering the data labels. This event is triggered for each data label in the series. You can use this event to add custom text in data labels.
OnClientDragEnd
Gets or sets the value for OnClientDragEnd property of chart fires when dragging stops.
Declaration
[JsonProperty("dragEnd")]
public string OnClientDragEnd { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Client-side dragEnd event for chart. Fires when dragging stops.
OnClientDragging
Gets or sets the value for OnClientDragging property of chart fires when dragging the point.
Declaration
[JsonProperty("dragging")]
public string OnClientDragging { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Client-side dragging event for chart. Fires when dragging the point.
OnClientDragStart
Gets or sets the value for OnClientDragStart property of chart which fires when dragging starts.
Declaration
[JsonProperty("dragStart")]
public string OnClientDragStart { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Client-side dragStart event for chart. Fires when dragging starts.
OnClientLegendBoundsCalculate
Gets or sets the value for OnClientLegendBoundsCalculate property of chart which Fires during the calculation of legend bounds.
Declaration
[JsonProperty("legendBoundsCalculate")]
public string OnClientLegendBoundsCalculate { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Client-side legend bounds calculate event of Chart. Fires during the calculation of legend bounds. You can use this event to customize the bounds of legend.
OnClientLegendItemClick
Gets or sets the value for OnClientLegendItemClick property fires on clicking the legend item.
Declaration
[JsonProperty("legendItemClick")]
public string OnClientLegendItemClick { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Client-side legend item click event of Chart. Fires on clicking the legend item.
OnClientLegendItemMouseMove
Gets or sets the value for OnClientLegendItemMouseMove property which fires when moving mouse over legend item
Declaration
[JsonProperty("legendItemMouseMove")]
public string OnClientLegendItemMouseMove { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Client-side legend item mouse move event of Chart. Fires when moving mouse over legend item. You can use this event for hit testing on legend items.
OnClientLegendItemRendering
Gets or sets the value for OnClientLegendItemRendering property of chart which Fires before rendering the legend item.
Declaration
[JsonProperty("legendItemRendering")]
public string OnClientLegendItemRendering { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Client-side legend item rendering event of Chart. Fires before rendering the legend item. This event is fired for each legend item in Chart. You can use this event to customize legend item shape or add custom text to legend item.
OnClientLengendBoundsCalculate
Gets or sets the value for OnClientLegendBoundsCalculate property of chart which Fires during the calculation of legend bounds.
Declaration
[JsonProperty("lengendBoundsCalculate")]
[Obsolete("OnClientLengendBoundsCalculate is deprecated, please use OnClientLegendBoundsCalculate instead.")]
public string OnClientLengendBoundsCalculate { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Client-side legend bounds calculate event of Chart. Fires during the calculation of legend bounds. You can use this event to customize the bounds of legend.
OnClientLoad
Gets or sets the value for OnClientLoad property of chart which fires before loading the chart.
Declaration
[JsonProperty("load")]
public string OnClientLoad { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Client-side load event for Chart. Fires before loading the chart.
OnClientPointRegionClick
Gets or sets the value for OnClientPointRegionClick property which Fires on clicking a point in chart.
Declaration
[JsonProperty("pointRegionClick")]
public string OnClientPointRegionClick { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Client-side point region click event of Chart. Fires on clicking a point in chart. You can use this event to handle clicks made on points.
OnClientPointRegionMouseMove
Gets or sets the value for OnClientPointRegionMouseMove property which fires when mouse is moved over a point.
Declaration
[JsonProperty("pointRegionMouseMove")]
public string OnClientPointRegionMouseMove { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Client-side point region mouse move event of Chart. Fires when mouse is moved over a point.
OnClientPreRender
Gets or sets the value for OnClientPreRender property of chart which es before rendering chart.
Declaration
[JsonProperty("preRender")]
public string OnClientPreRender { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Client-side pre-render event of Chart. Fires before rendering chart.
OnClientScrollChanged
Gets or sets the value for OnClientScrollChanged property of chart which fires Fires when changing the scrollbar.
Declaration
[JsonProperty("scrollChanged")]
public string OnClientScrollChanged { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Client-side scrollChanged event for chart. Fires when changing the scrollbar.
OnClientScrollEnd
Gets or sets the value for OnClientScrollEnd property of chart which Fires when moving the scrollbar.
Declaration
[JsonProperty("scrollEnd")]
public string OnClientScrollEnd { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Client-side scrollEnd event for chart. Fires when moving the scrollbar.
OnClientScrollStart
Gets or sets the value for OnClientScrollStart property of chart which Fires when start moving the scrollbar.
Declaration
[JsonProperty("scrollStart")]
public string OnClientScrollStart { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Client-side scroll start event for chart. Fires when start moving the scrollbar.
OnClientSeriesRegionClick
Gets or sets the value for OnClientSeriesRegionClick property of chart which Fires after selecting a series.
Declaration
[JsonProperty("seriesRegionClick")]
public string OnClientSeriesRegionClick { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Client-side series region click event of Chart. Fires after selecting a series. This event is triggered after selecting a series only if selection mode is series.
OnClientSeriesRendering
Gets or sets the value for OnClientSeriesRendering property of chart which Fires before rendering a series.
Declaration
[JsonProperty("seriesRendering")]
public string OnClientSeriesRendering { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Client-side series rendering event of Chart. Fires before rendering a series. This event is fired for each series in Chart.
OnClientSymbolRendering
Gets or sets the value for OnClientSymbolRendering property of chart which is Client-side symbol rendering event of Chart.
Declaration
[JsonProperty("symbolRendering")]
public string OnClientSymbolRendering { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Client-side symbol rendering event of Chart.
OnClientTitleRendering
Gets or sets the value for OnClientTitleRendering property which is Client-side mouse leave event of Chart.
Declaration
[JsonProperty("titleRendering")]
public string OnClientTitleRendering { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Client-side mouse leave event of Chart.
OnClientToolTipInitialize
Gets or sets the value for OnClientToolTipInitialize property which Fires before rendering the tooltip.
Declaration
[JsonProperty("toolTipInitialize")]
public string OnClientToolTipInitialize { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Client-side tooltip initialize event of Chart. Fires before rendering the tooltip. This event is fired when tooltip is enabled and mouse is hovered on a Chart point. You can use this event to customize tooltip before rendering.
OnClientTrackAxisToolTip
Gets or sets the value for OnClientTrackAxisToolTip property which Fires before rendering crosshair tooltip in axis.
Declaration
[JsonProperty("trackAxisToolTip")]
public string OnClientTrackAxisToolTip { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Client-side crosshair label rendering event of Chart. Fires before rendering crosshair tooltip in axis. This event is fired for each axis with crosshair label enabled. You can use this event to customize crosshair label before rendering
OnClientTrackToolTip
Gets or sets the value for OnClientTrackToolTip property which Fires before rendering trackball tooltip.
Declaration
[JsonProperty("trackToolTip")]
public string OnClientTrackToolTip { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Client-side trackball tooltip rendering event of Chart. Fires before rendering trackball tooltip. This event is fired for each series in Chart because trackball tooltip is displayed for all the series. You can use this event to customize the text displayed in trackball tooltip.
OnClientTrendlineRendering
Gets or sets the value for OnClientTrendlineRendering property which is Client-side trendline rendering event of Chart.
Declaration
[JsonProperty("trendlineRendering")]
public string OnClientTrendlineRendering { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Client-side trendline rendering event of Chart.
OnClientZoomed
Gets or sets the value for OnClientZoomed property of chart which is Client-side zoomed event of Chart.
Declaration
[JsonProperty("zoomed")]
public string OnClientZoomed { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Client-side zoomed event of Chart.
Palette
Gets or sets the Palette property of chart which is Palette to plot the series in Chart
Declaration
[JsonProperty("palette")]
public string Palette { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Palette to plot the series in Chart
PerspectiveAngle
Gets or sets the PerspectiveAngle property of the Chart.Perspective angle of the 3D view.
Declaration
[JsonProperty("perspectiveAngle")]
public double PerspectiveAngle { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Remarks
Perspective angle of the 3D view. Chart appears closer when perspective angle is decreased, and distant when perspective angle is increased. This property is applicable only when 3D view is enabled
PrimaryXAxis
Gets the PrimaryXAxis property.This is a horizontal axis that contains options to configure axis and it is the primary x axis.
Declaration
[JsonProperty("primaryXAxis")]
public Axis PrimaryXAxis { get; }
Property Value
Type | Description |
---|---|
Axis |
Remarks
This is a horizontal axis that contains options to configure axis and it is the primary x axis for all the series in series array. To override x axis for particular series, create an axis object by providing unique name by using name property and add it to axes array. Then, assign the name to the series’s xAxisName property to link both axis and series.
PrimaryYAxis
Gets the PrimaryYAxis property which is a vertical axis that contains options to configure axis.
Declaration
[JsonProperty("primaryYAxis")]
public Axis PrimaryYAxis { get; }
Property Value
Type | Description |
---|---|
Axis |
Remarks
This is a vertical axis that contains options to configure axis. This is the primary y axis for all the series in series array. To override y axis for particular series, create an axis object by providing unique name by using name property and add it to axes array. Then, assign the name to the series’s yAxisName property to link both axis and series.
RangeSelected
Gets or sets the value for rangeSelected event which Fires after selecting the particular data in chart
Declaration
[JsonProperty("rangeSelected")]
public string RangeSelected { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Fires after selecting the particular data in chart. Used to obtain the data after selection.
Rotation
Gets or sets the Rotation property of the Chart.This property is applicable only when 3D view is enabled.
Declaration
[JsonProperty("rotation")]
public double Rotation { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Remarks
Rotation angle of the 3D view. This property is applicable only when 3D view is enabled.
RowDefinitions
Gets the RowDefinitions property which specifies Options to split Chart into multiple plotting areas horizontally.
Declaration
[JsonProperty("rowDefinitions")]
public List<RowDefinitions> RowDefinitions { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<RowDefinitions> |
Remarks
Options to split Chart into multiple plotting areas horizontally. Each object in the collection represents a plotting area in Chart.
SelectedDataPointIndexes
Gets the SelectedDataPointIndexes property which specifies Options to select the datapoints when load the chart.
Declaration
[JsonProperty("selectedDataPointIndexes")]
public List<SelectedDataPointIndexes> SelectedDataPointIndexes { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<SelectedDataPointIndexes> |
Remarks
Options to select the datapoints when load the chart.
Series
Declaration
public List<Series> Series { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<Series> |
SeriesType
Declaration
[JsonConverter(typeof(StringEnumConverter))]
public SeriesType SeriesType { get; set; }
Property Value
Type | Description |
---|---|
SeriesType |
SideBySideSeriesPlacement
Gets or sets the SideBySideSeriesPlacement property of the Chart Controls whether data points has to be displayed
Declaration
[JsonProperty("sideBySideSeriesPlacement")]
public bool? SideBySideSeriesPlacement { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
Remarks
Controls whether data points has to be displayed side by side or along the depth of the axis.
Size
Gets the Size of chart control which specifies the height and width of the chart control.
Declaration
[JsonProperty("size")]
public ModelSize Size { get; }
Property Value
Type | Description |
---|---|
ModelSize |
Remarks
Size of the Chart
Text
Declaration
public string Text { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Theme
Gets or sets the Theme of the Chart which Specifies the theme for Chart.
Declaration
[JsonProperty("theme")]
[JsonConverter(typeof(StringEnumConverter))]
public ChartTheme Theme { get; set; }
Property Value
Type | Description |
---|---|
ChartTheme |
Remarks
Specifies the theme for Chart.
Tilt
Declaration
[JsonProperty("tilt")]
public double Tilt { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Title
Gets the Title which specifies Options for customizing the title and subtitle of Chart.
Declaration
[JsonProperty("title")]
public ChartTitle Title { get; }
Property Value
Type | Description |
---|---|
ChartTitle |
Remarks
Options for customizing the title and subtitle of Chart.
WallSize
Gets or sets the WallSize property of the Chart.This property is applicable only when 3D view is enabled.
Declaration
[JsonProperty("wallSize")]
public double WallSize { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Remarks
Width of the wall used in 3D Chart. Wall is present only in Cartesian type 3D series and not in 3D pie or Doughnut series. This property is applicable only when 3D view is enabled.
Width
Gets or sets the Width of the Chart which specfies the Width of the chart in pixels / percentage
Declaration
public string Width { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Width of the chart in pixels / percentage
XName
Gets or sets the XName of chart dataSource which specifies the Name of the property in the datasource that contains x value for the series.
Declaration
public string XName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Name of the property in the datasource that contains x value for the series.
YName
Gets or sets the YName of chart dataSource which describes the Name of the property in the datasource that contains y value for the series.
Declaration
public string YName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Name of the property in the datasource that contains y value for the series.
Zooming
Gets the Zooming property which specifies Options for enabling zooming feature of chart.
Declaration
[JsonProperty("zooming")]
public Zooming Zooming { get; }
Property Value
Type | Description |
---|---|
Zooming |
Remarks
Options for enabling zooming feature of chart.
Methods
DependentScripts()
Declaration
public List<string> DependentScripts()
Returns
Type | Description |
---|---|
System.Collections.Generic.List<System.String> |
FetchData(IEnumerable)
Declaration
public override void FetchData(IEnumerable data)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.IEnumerable | data |
Overrides
GetDependentFiles()
Declaration
public override List<string> GetDependentFiles()
Returns
Type | Description |
---|---|
System.Collections.Generic.List<System.String> |
Overrides
LoadViewState(Object)
Declaration
protected override void LoadViewState(object savedState)
Parameters
Type | Name | Description |
---|---|---|
System.Object | savedState |
Overrides
OnInit(EventArgs)
Declaration
protected override void OnInit(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | e |
OnLoad(EventArgs)
Declaration
protected override void OnLoad(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | e |
Overrides
OnPreRender(EventArgs)
Declaration
protected override void OnPreRender(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | e |
Overrides
PostBackEventHandler(String, Dictionary<String, Object>)
Declaration
public override void PostBackEventHandler(string EventName, Dictionary<string, object> args)
Parameters
Type | Name | Description |
---|---|---|
System.String | EventName | |
System.Collections.Generic.Dictionary<System.String, System.Object> | args |
Overrides
Render()
Declaration
public string Render()
Returns
Type | Description |
---|---|
System.String |
Render(HtmlTextWriter)
Declaration
protected override void Render(HtmlTextWriter writer)
Parameters
Type | Name | Description |
---|---|---|
System.Web.UI.HtmlTextWriter | writer |
Overrides
SaveViewState()
Declaration
protected override object SaveViewState()
Returns
Type | Description |
---|---|
System.Object |
ShouldSerializeElementSpacing()
Declaration
public bool ShouldSerializeElementSpacing()
Returns
Type | Description |
---|---|
System.Boolean |
UpdateServerModel(Dictionary<String, Object>)
Declaration
public override void UpdateServerModel(Dictionary<string, object> ClientModel)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.Dictionary<System.String, System.Object> | ClientModel |
Overrides
Events
PointRegionClick
Gets or sets the server-side event for point region click
Declaration
public event Chart.ChartEventHandler PointRegionClick
Event Type
Type | Description |
---|---|
Chart.ChartEventHandler |
ServerExcelExporting
Gets or sets the server-side event for excel exporting
Declaration
public event Chart.ChartEventHandler ServerExcelExporting
Event Type
Type | Description |
---|---|
Chart.ChartEventHandler |
ServerExporting
Gets or sets the server-side event for exporting
Declaration
public event Chart.ChartEventHandler ServerExporting
Event Type
Type | Description |
---|---|
Chart.ChartEventHandler |