问题
Is it possible to attach additional data to a data point, and later access that data directly from an event handler?
series: [{
data: [
{ x: ..., y: ..., customProperty:... }
]
}]
http://jsfiddle.net/JGCmt/1/
回答1:
Yes it is possible to access the date from an event handler.
event.point.options.customProperty
DEMO
来源:https://stackoverflow.com/questions/16093870/attach-arbitrary-data-to-highcharts-data-points