
Tooltips now snap to closest position on DateAxis and CategoryAxis.
Features
tooltipContainerBounds
has been added toRoot
settings. This allows you to define margins around the chart area for tooltips to go outside the chart itself.- If
tooltipLocation: 0
on aDateAxis
, it will now snap to the closest position. Previously it snapped to the date over which mouse pointer was, this was not user-friendly in some setups. The same logic now applies to theCategoryAxis
as well.