Class AccumulationSeries
Inheritance
Namespace: Syncfusion.EJ2.Charts
Assembly: Syncfusion.EJ2.dll
Syntax
public class AccumulationSeries : EJTagHelper
Constructors
AccumulationSeries()
Declaration
public AccumulationSeries()
Properties
AddPoint
Declaration
public object AddPoint { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The default value is null |
Animation
Options for customizing the animation of the series.
By default, animation is enabled with a duration of 1000 milliseconds (about 1 second). It can be disabled by setting enable to false
.
The following properties are supported in animation:
enable: If set to true, the series is animated on initial loading.
duration: The duration of the animation in milliseconds.
delay: The delay before the animation starts, in milliseconds.
Declaration
public AccumulationChartAnimation Animation { get; set; }
Property Value
Type | Description |
---|---|
AccumulationChartAnimation | The default value is null |
ApplyPattern
When set to true, a different pattern is applied to each slice of the pie.
Declaration
public bool ApplyPattern { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is false |
Border
Options for customizing the border of the series.
Declaration
public AccumulationChartBorder Border { get; set; }
Property Value
Type | Description |
---|---|
AccumulationChartBorder | The default value is null |
BorderRadius
Option for customizing the border radius.
Declaration
public double BorderRadius { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 0 |
DashArray
Defines the pattern of dashes and gaps for the series border.
Declaration
public string DashArray { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "0" |
DataLabel
The data label property can be used to show the data label and customize its position and styling.
Declaration
public AccumulationDataLabelSettings DataLabel { get; set; }
Property Value
Type | Description |
---|---|
AccumulationDataLabelSettings | The default value is null |
DataSource
Specifies the data source for the series. It can be an array of JSON objects, or an instance of DataManager.
Declaration
public object DataSource { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The default value is null |
EmptyPointSettings
Declaration
public AccumulationChartEmptyPointSettings EmptyPointSettings { get; set; }
Property Value
Type |
---|
AccumulationChartEmptyPointSettings |
EnableTooltip
Controls whether the tooltip for the accumulation chart series is enabled or disabled. Set to true to display tooltips on hover, or false to hide them.
Declaration
public bool EnableTooltip { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is true |
EndAngle
Specifies the ending angle for the series, in degrees.
Declaration
public double EndAngle { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is Double.NaN |
Explode
If set to true, series points will explode on mouse click or touch.
Declaration
public bool Explode { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is false |
ExplodeAll
If set to true, all the points in the series will explode on load.
Declaration
public bool ExplodeAll { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is false |
ExplodeIndex
Index of the point in the series to be exploded on initial load.
Declaration
public double ExplodeIndex { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is Double.NaN |
ExplodeOffset
Specifies the distance of the point from the center, which can be defined in both pixels and percentage.
Declaration
public string ExplodeOffset { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "30%" |
GapRatio
Defines the distance between the segments of a funnel or pyramid series. The range is from 0 to 1.
Declaration
public double GapRatio { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 0 |
GroupMode
In the accumulation series, y-values less than groupMode
are combined into a single slice named 'others'.
Declaration
public GroupModes GroupMode { get; set; }
Property Value
Type | Description |
---|---|
GroupModes | The default value is GroupModes.Value |
GroupTo
The y-values of the accumulation series that are less than groupTo
are combined into a single slice named 'others'.
Declaration
public string GroupTo { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
Height
Defines the height of the funnel or pyramid series relative to the chart area.
Declaration
public string Height { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "80%" |
InnerRadius
When the innerRadius
value is greater than 0%, a donut shape will appear in the pie series. It accepts only percentage values.
Declaration
public string InnerRadius { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "0" |
LegendImageUrl
The URL for the image to be displayed as a legend icon.
Note that
legendShape
must be set toImage
.
Declaration
public string LegendImageUrl { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "" |
LegendShape
Specifies the shape of the legend icon for each data point. Available shapes for legend: Circle - Renders a circular icon. Rectangle - Renders a rectangular icon. Triangle - Renders a triangular icon. Diamond - Renders a diamond-shaped icon. Cross - Renders a cross-shaped icon. HorizontalLine - Renders a horizontal line icon. VerticalLine - Renders a vertical line icon. Pentagon - Renders a pentagon-shaped icon. InvertedTriangle - Renders an inverted triangle-shaped icon. SeriesType - Uses the default icon shape based on the series type. Image - Renders a custom image for the legend icon.
Declaration
public LegendShape LegendShape { get; set; }
Property Value
Type | Description |
---|---|
LegendShape | The default value is LegendShape.SeriesType |
Name
The name
property allows for setting a name for the series.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "" |
NeckHeight
Defines the height of the funnel neck relative to the chart area.
Declaration
public string NeckHeight { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "20%" |
NeckWidth
Defines the width of the funnel neck relative to the chart area.
Declaration
public string NeckWidth { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "20%" |
Opacity
Sets the opacity of the series, with a value between 0 and 1 where 0 is fully transparent and 1 is fully opaque.
Declaration
public double Opacity { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 1 |
Palettes
The palettes
array defines a set of colors used for rendering the accumulation chart's points. Each color in the array is applied to each point in order.
Declaration
public string[] Palettes { get; set; }
Property Value
Type | Description |
---|---|
System.String[] | The default value is null |
PointColorMapping
The data source field that contains the color value of a point. It is applicable for series.
Declaration
public string PointColorMapping { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "" |
PyramidMode
Defines how the values are represented, either through the height or surface area of the segments.
Declaration
public PyramidModes PyramidMode { get; set; }
Property Value
Type | Description |
---|---|
PyramidModes | The default value is PyramidModes.Linear |
Query
Specifies a query to select data from the data source. This property is applicable only when the data source is an ej.DataManager
.
Declaration
public string Query { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
Radius
Specifies the radius of the pie series as a percentage of the chart's size.
Declaration
public string Radius { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
RemovePoint
Declaration
public object RemovePoint { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The default value is null |
SelectionStyle
The selectionStyle
property is used to specify custom CSS styles for the selected series or points.
Declaration
public string SelectionStyle { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
SetData
Declaration
public object SetData { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The default value is null |
StartAngle
Specifies the starting angle for the series, in degrees.
Declaration
public double StartAngle { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 0 |
TooltipMappingName
The data source field that contains the value to be displayed in the tooltip.
Declaration
public string TooltipMappingName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "" |
Type
Specifies the type of series in the accumulation chart.
Declaration
public AccumulationType Type { get; set; }
Property Value
Type | Description |
---|---|
AccumulationType | The default value is AccumulationType.Pie |
Visible
If set to true, the series will be visible. If set to false, the series will be hidden.
Declaration
public bool Visible { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is true |
Width
Defines the width of the funnel or pyramid series relative to the chart area.
Declaration
public string Width { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "80%" |
XName
The data source field that contains the x value.
Declaration
public string XName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "" |
YName
The data source field that contains the y value.
Declaration
public string YName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "" |