Skip to content

Documentation / @ripl/charts / ChartYAxisEntry

Type Alias: ChartYAxisEntry<TData> ​

ChartYAxisEntry<TData> = Partial<ChartYAxisItemOptions<TData>> & object

Defined in: charts/src/core/options.ts:591

One y-axis in a multi-axis configuration.

id is required here and nowhere else: with several axes a series has to say which one it belongs to, and naming it beats counting it — an id survives the array being reordered, where a position would silently re-point every series bound after the one that moved.

Type Declaration ​

id ​

id: string

Stable identifier a series binds to via its yAxis option.

Type Parameters ​

Type ParameterDefault type
TDataunknown