StripLineSettings
10 Oct 20252 minutes to read
Allows to configure the strip line properties such as line position, size, color, size type, border, text and opacity in the chart.
Properties
border PivotChartBorderModel
Allows to customize the border of the strip line with different settings such as text, rotation, line alignment, text style and opacity in the chart.
color string
Allows to set the color of the strip line.
Defaults to ‘#808080’
dashArray string
Allows to set the dash array of the strip line.
Defaults to null
end number|Date
Allows to set the end value of the strip line.
Defaults to null
horizontalAlignment Anchor
Allows to set the position of the strip line text horizontally. They are,
- Start: Places the strip line text at the start.
- Middle: Places the strip line text in the middle.
- End: Places the strip line text at the end.
Defaults to ‘Middle’
isRepeat boolean
Allows to set repeated value of the strip line.
Defaults to false
isSegmented boolean
Allows to set the isSegmented value of the strip line
Defaults to false
opacity number
Allows to set the opacity of the strip line
Defaults to 1
repeatEvery number|Date
Allows to set the repeatEvery value of the strip line.
Defaults to null
repeatUntil number|Date
Allows to set the repeatUntil value of the strip line.
Defaults to null
rotation number
Allows to set the angle to which the strip line text gets rotated.
Defaults to null
segmentAxisName string
Allows to set the segmentAxisName of the strip line.
Defaults to null
segmentEnd number|Date
Allows to set the segmentEnd value of the strip line.
Defaults to null
segmentStart number|Date
Allows to set the segmentStart value of the strip line.
Defaults to null
size number
Allows to set the size of the strip line, when it starts from the origin.
Defaults to null
sizeType SizeType
Allows to set the size type of the strip line
Defaults to Auto
start number|Date
Allows to set the start value of the strip line.
Defaults to null
startFromAxis boolean
Allows the strip line to be rendered from axis origin.
Defaults to false
text string
Allows to set the strip line text.
Defaults to ’’
textStyle PivotChartFontModel
Allows options to customize the strip line text.
verticalAlignment Anchor
Allows to set the position of the strip line text vertically. They are,
- Start: Places the strip line text at the start.
- Middle: Places the strip line text in the middle.
- End: Places the strip line text at the end.
Defaults to ‘Middle’
visible boolean
Allows to set the visibility of the strip line for axis to be rendered.
Defaults to true
zIndex ZIndex
Allows to set the order of the strip line. They are,
- Behind: Places the strip line behind the series elements.
- Over: Places the strip line over the series elements.
Defaults to ‘Behind’