AccumulationSeriesDirective

12 Sep 20255 minutes to read

AccumulationSeries Directive

<e-accumulation-series-collection>
<e-accumulation-series></e-accumulation-series>
</e-accumulation-series-collection>

Properties

accessibility any

Options to improve accessibility for series elements.

animation any

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.

applyPattern any

When set to true, a different pattern is applied to each slice of the pie.

Defaults to false

border any

Options for customizing the border of the series.

borderRadius any

Option for customizing the border radius.

Defaults to 0

dashArray any

Defines the pattern of dashes and gaps for the series border.

Defaults to ‘0’

dataLabel any

The data label property can be used to show the data label and customize its position and styling.

dataSource any

Specifies the data source for the series. It can be an array of JSON objects, or an instance of DataManager.

Defaults to ’’

emptyPointSettings any

Customization options for the appearance of empty points in the series, where null or undefined values are considered as empty points.

enableTooltip any

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.

Defaults to true

endAngle any

Specifies the ending angle for the series, in degrees.

Defaults to null

explode any

If set to true, series points will explode on mouse click or touch.

Defaults to false

explodeAll any

If set to true, all the points in the series will explode on load.

Defaults to false

explodeIndex any

Index of the point in the series to be exploded on initial load.

Defaults to null

explodeOffset any

Specifies the distance of the point from the center, which can be defined in both pixels and percentage.

Defaults to ‘30%’

funnelMode any

Defines the rendering mode for the funnel chart.
Available options are:

  • Standard - Displays a funnel shape that narrows down to a point.
  • Trapezoid - Displays a funnel shape with parallel sides near the top.

Defaults to ‘Standard’

gapRatio any

Defines the distance between the segments of a funnel or pyramid series.
The range is from 0 to 1.

Defaults to 0

groupMode any

In the accumulation series, y-values less than groupMode are combined into a single slice named ‘others’.

Defaults to Value

groupTo any

The y-values of the accumulation series that are less than groupTo are combined into a single slice named ‘others’.

Defaults to null

height any

Defines the height of the funnel or pyramid series relative to the chart area.

Defaults to ‘80%’

innerRadius any

When the innerRadius value is greater than 0%, a donut shape will appear in the pie series. It accepts only percentage values.

Defaults to ‘0’

legendImageUrl any

The URL for the image to be displayed as a legend icon.

Note that legendShape must be set to Image.

Defaults to ’’

legendShape any

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.

Defaults to ‘SeriesType’

name any

The name property allows for setting a name for the series.

Defaults to ’’

neckHeight any

Defines the height of the funnel neck relative to the chart area.

Defaults to ‘20%’

neckWidth any

Defines the width of the funnel neck relative to the chart area.

Defaults to ‘20%’

opacity any

Sets the opacity of the series, with a value between 0 and 1 where 0 is fully transparent and 1 is fully opaque.

Defaults to 1.

palettes any

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.

Defaults to []

pointColorMapping any

The data source field that contains the color value of a point.
It is applicable for series.

Defaults to ’’

pyramidMode any

Defines how the values are represented, either through the height or surface area of the segments.

Defaults to ‘Linear’

query any

Specifies a query to select data from the data source. This property is applicable only when the data source is an ej.DataManager.

Defaults to null

radius any

Specifies the radius of the pie series as a percentage of the chart’s size.

Defaults to null

selectionStyle any

The selectionStyle property is used to specify custom CSS styles for the selected series or points.

Defaults to null

startAngle any

Specifies the starting angle for the series, in degrees.

Defaults to 0

tooltipMappingName any

The data source field that contains the value to be displayed in the tooltip.

Defaults to ’’

type any

Specifies the type of series in the accumulation chart.

Defaults to ‘Pie’

visible any

If set to true, the series will be visible. If set to false, the series will be hidden.

Defaults to true

width any

Defines the width of the funnel or pyramid series relative to the chart area.

Defaults to ‘80%’

xName any

The data source field that contains the x value.

Defaults to ’’

yName any

The data source field that contains the y value.

Defaults to ’’