PivotAxisModel

10 Oct 20253 minutes to read

Interface for a class PivotAxis

Properties

border PivotChartLabelBorderModel

Allows to set the border of the multi level labels.

coefficient number

Allows to set the polar radar radius position.

crosshairTooltip PivotChartCrosshairTooltipModel

Allows options to customize the crosshair ToolTip.

description string

Allows to set the description for axis and its element.

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.

enableTrim boolean

Allows to set the Trim property for an axis.

interval number

Allows to set the interval for an axis.

isIndexed boolean

Allows to specify the indexed category to the axis.

isInversed boolean

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

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.

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.

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.

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.

labelRotation number

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

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.

maximumLabelWidth number

Allows to set the maximum width of an axis label.

minimum object

Allows to set the minimum range of an axis.

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.

opposedPosition boolean

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

plotOffset number

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

startAngle number

Allows to set the start angle for the series.

stripLines PivotChartStripLineSettingsModel[]

Allows to set the stripLine collection for the axis

tabIndex number

Allows to set the tabindex value for the axis.

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.

title string

Allows to set the title of an axis.

titleStyle PivotChartFontModel

Allows options for customizing the axis title.

visible boolean

If set to true, axis label will be visible.

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.