
Improves tooltips support and cursor "snap-to" feature.
Features
- Added second parameter to
Root
constructor which contains settings object. For now, there's only one setting: useSafeResolution (default:true
). "x!"
and"y!"
options have been added toXYCursor
'ssnapToSeriesBy
setting. Setting it to"y!"
will make cursor will choose the nearest data point to snap to by measuring only vertical distance and looking at the data items which are at the current X axis position (date or category). The same applies for"x!"
.tooltipDataItem
setting has been added toXYSeries
. It's a read-only reference to a data item which series tooltip currently uses.