PivotAxis

10 Oct 20253 minutes to read

Allow options to customize the axis with different properties such as labelIntersectAction, labelStyle, title,
description, crosshairTooltip, labelFormat, titleStyle, plotOffset, edgeLabelPlacement, labelPlacement, tickPosition, opposedPosition, minor and
major grid lines, minor and major tick lines, border, etc. in the pivot chart.

Properties

border PivotChartLabelBorderModel

Allows to set the border of the multi level labels.

coefficient number

Allows to set the polar radar radius position.

Defaults to 100

crosshairTooltip PivotChartCrosshairTooltipModel

Allows options to customize the crosshair ToolTip.

description string

Allows to set the description for axis and its element.

Defaults to null

edgeLabelPlacement EdgeLabelPlacement

Allows to set the position of labels at the edge of the axis.They are,

  • Shift: Shifts the edge labels.
  • None: No action will be performed.
  • Hide: Edge label will be hidden.

Defaults to ‘Shift’

enableTrim boolean

Allows to set the Trim property for an axis.

Defaults to false

interval number

Allows to set the interval for an axis.

Defaults to null

isIndexed boolean

Allows to specify the indexed category to the axis.

Defaults to false

isInversed boolean

Allows to specify whether the axis to be rendered in inversed manner or not.

Defaults to false

labelFormat string

It used to format the axis label that accepts any global string format like ‘C’, ‘n1’, ‘P’ etc.
It also accepts placeholder like ‘{value}°C’ in which value represent the axis label, e.g, 20°C.

Defaults to ’’

labelIntersectAction LabelIntersectAction

Allows to set the actions like Hide, Rotate45, and Rotate90 when the axis labels intersect with each other.They are,

  • Rotate45: Rotates the label to 45 degree when it intersects.
  • Rotate90: Rotates the label to 90 degree when it intersects.
  • None: Shows all the labels.
  • Hide: Hides the label when it intersects.

Defaults to Rotate45

labelPlacement LabelPlacement

Allows to set the placement of a label for category axis. They are,

  • onTicks: Renders the label on the ticks.
  • betweenTicks: Renders the label between the ticks.

Defaults to ‘BetweenTicks’

labelPosition AxisPosition

Allows to set the placement of a labels to the axis line. They are,

  • outside: Renders the labels outside to the axis line.
  • inside: Renders the labels inside to the axis line.

Defaults to ‘Outside’

labelRotation number

Allows to set the angle to which the axis label gets rotated.

Defaults to 0

labelStyle PivotChartFontModel

Allows options to customize the axis label.

lineStyle PivotChartAxisLineModel

Allows options for customizing axis lines.

majorGridLines PivotChartMajorGridLinesModel

Allows options for customizing major grid lines.

majorTickLines PivotChartMajorTickLinesModel

Allows options for customizing major tick lines.

maximum object

Allows to set the maximum range of an axis.

Defaults to null

maximumLabelWidth number

Allows to set the maximum width of an axis label.

Defaults to 34.

minimum object

Allows to set the minimum range of an axis.

Defaults to null

minorGridLines PivotChartMinorGridLinesModel

Allows options for customizing minor grid lines.

minorTickLines PivotChartMinorTickLinesModel

Allows options for customizing minor tick lines.

minorTicksPerInterval number

Allows to set the number of minor ticks per interval.

Defaults to 0

opposedPosition boolean

If set to true, the axis will render at the opposite side of its default position.

Defaults to false

plotOffset number

Allows to set the left and right padding for the plot area in pixels.

Defaults to 0

startAngle number

Allows to set the start angle for the series.

Defaults to 0

stripLines PivotChartStripLineSettingsModel[]

Allows to set the stripLine collection for the axis

tabIndex number

Allows to set the tabindex value for the axis.

Defaults to 2

tickPosition AxisPosition

Allows to set the placement of a ticks to the axis line. They are,

  • outside: Renders the ticks outside to the axis line.
  • inside: Renders the ticks inside to the axis line.

Defaults to ‘Outside’

title string

Allows to set the title of an axis.

Defaults to ’’

titleStyle PivotChartFontModel

Allows options for customizing the axis title.

visible boolean

If set to true, axis label will be visible.

Defaults to true

zoomFactor number

Allows to scale the axis by this value. When zoomFactor is 0.5, the chart is scaled by 200% along this axis. Value ranges from 0 to 1.

Defaults to null