API / Series/X-Range / XRangeSeries

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

Extends

Type Parameters

Type Parameter Default type
T MeaningfulAny

Properties

Property Type Description
borderColor? string The color of the border surrounding each bar.
borderDashStyle? "Dash" | "DashDot" | "Dot" | "LongDash" | "LongDashDot" | "LongDashDotDot" | "ShortDash" | "ShortDashDot" | "ShortDashDotDot" | "ShortDot" | "Solid" The dash style of the border surrounding each bar. Default 'Solid'
borderRadius? number The corner radius of the border surrounding each bar. Default 0
borderWidth? number The width of the border surrounding each bar. Default 0
color? string The main color of the series (hex, rgba)
cursor? string You can set the cursor to "pointer" if you have click events attached to the series, to signal to the user that the points and lines can be clicked.
custom? any 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
data XRangeSeriesData<T>[] -
dataLabels? BaseDataLabels Options for the series data labels, appearing next to each data point.
legend? BaseSeriesLegend & object Individual series legend options. Has higher priority than legend options in widget data
name string The name of the series (used in legend, tooltip etc)
opacity? null | number Individual opacity for the entire series.
tooltip? object Options for the tooltip that appears when the user hovers over a series or point.
tooltip.enabled? boolean Enable or disable the visibility of this series in the tooltip. Default true
tooltip.valueFormat? ValueFormat Formatting settings for tooltip value.
type "x-range" -
visible? boolean Initial visibility of the series