Search results

PivotSeries API in Angular Pivot Grid API component

Allow options to customize the chart series with different settings such as fill color, animation of the series, series width, border, visibility of the series, opacity, chart series types, marker, tooltip, trendlines, etc., in the pivot chart. For example, to display the line type pivot chart, set the property type to Line.

Properties

animation

PivotChartAnimationModel

Allows options to customizing animation for the series.

Defaults to null

border

PivotChartBorderModel

Allows options to customizing the border of the series. This is applicable only for Column and Bar type series.

cardinalSplineTension

number

Allows to set the tension of cardinal spline types

Defaults to 0.5

columnSpacing

number

Allows to render the column series points with particular column spacing. It takes value from 0 - 1.

Defaults to 0

columnWidth

number

Allows to render the column series points with particular column width.

Defaults to null

cornerRadius

PivotChartCornerRadiusModel

Allows to render the column series points with particular rounded corner.

dashArray

string

Allows to set the pattern of dashes and gaps to stroke the lines in Line type series.

Defaults to ‘0’

dataLabel

PivotChartDataLabelModel

Allows options to customize data label for the pie, funnel, pyramid, doughnut chart series.

Defaults to null

drawType

ChartDrawType

Allows to set the type of series to be drawn in radar or polar series. They are ‘Line’ ‘Column’ ‘Area’ ‘Scatter’ ‘Spline’ ‘StackingColumn’ ‘StackingArea’ ‘RangeColumn’ ‘SplineArea’

Defaults to ‘Line’

emptyPointSettings

PivotChartEmptyPointSettingsModel

Allows options to customize the empty points in series

enableTooltip

boolean

If set true, the Tooltip for series will be visible.

Defaults to true

endAngle

number

Allows to set the end angle for the pie and doughnut chart series.

Defaults to null

errorBar

PivotChartErrorBarSettingsModel

Allows options for displaying and customizing error bar for individual point in a series.

explode

boolean

Allows to enable or disable series point explode on mouse click or touch for pie, funnel, doughnut and pyramid chart.

Defaults to false

explodeAll

boolean

Allows to enable or disable all series point explode on mouse click or touch for pie, funnel, doughnut and pyramid chart.

Defaults to false

explodeIndex

number

Allows to set Index of the point to be exploded on load for pie, funnel, doughnut and pyramid chart.

Defaults to null

explodeOffset

string

Allows to set distance of the point from the center, which takes values in both pixels and percentage for pie, funnel, doughnut and pyramid chart.

Defaults to “30%”

fill

string

Allows to set the fill color for the series that accepts value in hex and rgba as a valid CSS color string.

Defaults to null

gapRatio

number

Allows to set the distance between the segments of a funnel/pyramid series. The range will be from 0 to 1.

Defaults to 0

groupMode

GroupModes

Allows to define the mode of grouping for pie, funnel, doughnut and pyramid chart series.

Defaults to “Value”

groupTo

string

Allows to combine the y values into slice named other for pie, funnel, doughnut and pyramid chart Series.

Defaults to null

innerRadius

string

Allows to set inner radius for pie and doughnut series chart.

Defaults to null

isClosed

boolean

Specifies whether to join start and end point of a line/area series used in polar/radar chart to form a closed path.

Defaults to true

legendShape

LegendShape

Allows to set the shape of the legend. Each series has its own legend shape. They are,

  • Circle
  • Rectangle
  • VerticalLine
  • Pentagon
  • InvertedTriangle
  • SeriesType
  • Triangle
  • Diamond
  • Cross
  • HorizontalLine

Defaults to ‘SeriesType’

marker

PivotChartMarkerSettingsModel

Allows options for displaying and customizing markers for individual points in a series.

maxRadius

number

Allows to set the maximum radius.

Defaults to 3

minRadius

number

Allows to set the minimum radius.

Defaults to 1

neckHeight

string

Allows to defines the height of the funnel chart neck with respect to the chart area.

Defaults to “20%”

neckWidth

string

Allows to defines the width of the funnel chart neck with respect to the chart area.

Defaults to “20%”

opacity

number

Allows to set the opacity of the series.

Defaults to 1

pyramidMode

PyramidModes

Defines how the values have to be reflected, whether through height/surface of the segments in pyramid series.

Defaults to ‘Linear’

segmentAxis

Segment

Allows to set the axis, based on which the line series will be split.

segments

PivotChartSegmentModel[]

Allows to set the collection of regions that helps to differentiate a line series.

selectionStyle

string

Allows to set the custom style for the selected series or points.

Defaults to null

splineType

SplineType

Allows to set the type of spline to be rendered.

Defaults to ‘Natural’

stackingGroup

string

This allows grouping the chart series in stacked column / bar charts. Any string value can be provided to the stackingGroup property. If any two or above series have the same value, those series will be grouped together.

Defaults to

startAngle

number

Allows to defines start angle for the pie, funnel, doughnut and pyramid chart series.

Defaults to 0

tooltipMappingName

string

Allows to set the provided value will be considered as a Tooltip name

Defaults to

trendlines

PivotChartTrendlineModel[]

Allows to set the collection of trendlines that are used to predict the trend

type

string

Allows to set the type of the series are

  • StackingColumn
  • StackingArea
  • StackingBar
  • StepLine
  • Line
  • Column
  • Area
  • Bar
  • StepArea
  • Pareto
  • Bubble
  • Scatter
  • Spline
  • SplineArea
  • StackingColumn100
  • StackingBar100
  • StackingArea100
  • Polar
  • Radar

Defaults to ‘Line’

visible

boolean

Allows to set the visibility of series.

Defaults to true

width

number

Allows to set the stroke width for the series that is applicable only for Line type series.

Defaults to 1