API / Series/X-Range / XRangeSeriesData

Defined in: src/core/types/chart/x-range.ts:7

Extends

Type Parameters

Type Parameter Default type
T MeaningfulAny

Properties

Property Type Description
color? string Individual color for the bar. Overrides the series color.
custom? T A reserved subspace to store options and values for customized functionality Here you can add additional data for your own event callbacks and formatter callbacks
dataLabels? object Per-point overrides for the series data label.
dataLabels.enabled? boolean Per-point override of series.dataLabels.enabled. The point-level value takes precedence: true shows the label even when series-level labels are disabled, false hides the label even when series-level labels are enabled. Default series.dataLabels.enabled
label? string | number Data label value. If not specified, the series name is used.
opacity? number Individual opacity for the bar.
tooltip? object Per-point overrides for the tooltip behavior.
tooltip.enabled? boolean Per-point override of series.tooltip.enabled. The point-level value takes precedence: true shows the point in the tooltip even when the series is hidden from the tooltip, false hides the point even when the series is shown. Default series.tooltip.enabled
x0 string | number The start value of the bar on the x-axis. Can be a numeric or timestamp value.
x1 string | number The end value of the bar on the x-axis. Can be a numeric or timestamp value.
y? string | number The y value. Depending on the context it may represent: - a category value (for category y axis). If string, it is the category itself. If number, it is the index in yAxis[0].categories. - a numeric value (for linear y axis)