Search results

PivotSeriesModel API in JavaScript (ES5) Pivot Table API control

Interface for a class PivotSeries

Properties

animation

PivotChartAnimationModel

Allows options to customizing animation for the series.

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

columnSpacing

number

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

columnWidth

number

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

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.

dataLabel

PivotChartDataLabelModel

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

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’

emptyPointSettings

PivotChartEmptyPointSettingsModel

Allows options to customize the empty points in series

enableTooltip

boolean

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

endAngle

number

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

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.

explodeAll

boolean

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

explodeIndex

number

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

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.

fill

string

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

gapRatio

number

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

groupMode

GroupModes

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

groupTo

string

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

innerRadius

string

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

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.

legendShape

LegendShape

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

  • Circle - Renders a circle.
  • Rectangle - Renders a rectangle.
  • VerticalLine - Renders a verticalLine.
  • Pentagon - Renders a pentagon.
  • InvertedTriangle - Renders a invertedTriangle.
  • SeriesType - Render a legend shape based on series type.
  • Triangle - Renders a triangle.
  • Diamond - Renders a diamond.
  • Cross - Renders a cross.
  • HorizontalLine - Renders a horizontalLine.
  • Image - Renders a image.

marker

PivotChartMarkerSettingsModel

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

maxRadius

number

Allows to set the maximum radius.

minRadius

number

Allows to set the minimum radius.

neckHeight

string

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

neckWidth

string

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

opacity

number

Allows to set the opacity of the series.

palettes

string[]

Allows you to draw the chart series points with custom color for the pie, funnel, doughnut and pyramid chart types.

pyramidMode

PyramidModes

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

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.

splineType

SplineType

Allows to set the type of spline to be rendered.

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.

startAngle

number

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

tooltipMappingName

string

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

trendlines

PivotChartTrendlineModel[]

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

type

ChartSeriesType

Allows to set the type of the series are

  • Line - Allows to display the pivot chart with line series.
  • Column - Allows to display the pivot chart with column series.
  • Area - Allows to display the pivot chart with area series.
  • Bar - Allows to display the pivot chart with bar series.
  • StackingColumn - Allows to display the pivot chart with stacked column series.
  • StackingArea - Allows to display the pivot chart with stacked area series.
  • StackingBar - Allows to display the pivot chart with stacked bar series.
  • StepLine - Allows to display the pivot chart with step line series.
  • StepArea - Allows to display the pivot chart with step area series.
  • SplineArea - Allows to display the pivot chart with spline area series.
  • Scatter - Allows to display the pivot chart with scatter series.
  • Spline - Allows to display the pivot chart with spline series.
  • StackingColumn100 - Allows to display the pivot chart with 100% stacked column series.
  • StackingBar100 - Allows to display the pivot chart with 100% stacked bar series.
  • StackingArea100 - Allows to display the pivot chart with 100% stacked area series.
  • Bubble - Allows to display the pivot chart with bubble series.
  • Pareto - Allows to display the pivot chart with pareto series.
  • Polar - Allows to display the pivot chart with polar series.
  • Radar - Allows to display the pivot chart with radar series.

visible

boolean

Allows to set the visibility of series.

width

number

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