Mark Area Data Point
MarkAreaDataPoint.RdOne endpoint of a markArea band. Two of these — wrapped in a length-2 list
— define the opposite corners of a shaded rectangle. Supplying only
x_axis on both endpoints produces a full-height vertical band (useful for
highlighting x-ranges of a time series); supplying only y_axis produces a
full-width horizontal band.
Usage
MarkAreaDataPoint(
x_axis = NULL,
y_axis = NULL,
name = NULL,
value = NULL,
item_style = NULL,
label = NULL
)Arguments
- x_axis
Optional Numeric or Character: Position on the x-axis.
- y_axis
Optional Numeric or Character: Position on the y-axis.
- name
Optional Character: Label text for the band.
- value
Optional Numeric or Character: Fallback label value when
nameis not set.- item_style
Optional ItemStyle: Fill and border styling. Styling set on the first endpoint of a pair applies to the whole band.
- label
Optional LabelOption: Label configuration.
Details
Corresponds to MarkArea2DDataItemDimOption in
src/component/marker/MarkAreaModel.ts (line 49).
ECharts docs:
https://echarts.apache.org/en/option.html#series-line.markArea.data