Answer the question
In order to leave comments, you need to log in
How to bind custom data in Highcharts?
I have been working with Highcharts for quite a long time and every time I invent my own bike of data binding to series in order to use them somehow (for example, display them in a tooltip).
series: [{data : [{
x: 5,
y: 6,
customData: 'Какие-то данные'
}]}]
chart.series[ 0 ].options.data[ 0 ] →
{
x: 5,
y: 6
}
Answer the question
In order to leave comments, you need to log in
Your custom data (snap to a point) will be in
chart.series[0].points[0].customdata
chart.series[0].options.customdata.somekey
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question