API / Configuration / AxisPlotBand

Defined in: src/types/chart/axis.ts:252

Extends

Properties

Property Type Description
color? string The color of the plot line (hex, rgba).
from null | string | number The start position of the plot band in axis units. Can be a number, a string (e.g., a category), or a timestamp if representing a date. When representing a date, the value must be a timestamp (number of milliseconds since Unix epoch). If the value is -Infinity or null, it will be treated as the start of the axis.
label? object -
label.padding? number The pixel padding for label. Default 5
label.qa? string Can be used for the UI automated test. It is assigned as a data-qa attribute to an element.
label.style? Partial<BaseTextStyle> -
label.text string -
layerPlacement? PlotLayerPlacement Place the line behind or above the chart.
opacity? number Individual opacity for the line. Default 1
to null | string | number The end position of the plot band in axis units. Can be a number, a string (e.g., a category), or a timestamp if representing a date. When representing a date, the value must be a timestamp (number of milliseconds since Unix epoch). If the value is Infinity or null, it will be treated as the end of the axis.