Home › forums › Chart Support › Problems with Chart Toolbar when zoom enabled and viewportMaximum set
Tagged: settings, toolbar, viewportMaximum, zoom
I need the options zoomenabled and the viewportMaximum setting. So when using it, the chart toolbar is always shown.
So I completely hide the toolbar first with css and try to unhide it on rangeChange. Now the toolbar is flickering when moving around in the chart, because the rangeChanged Event is firing every time.
Is it possible to have a event when the zoom feature is activated??
You can check if the triggered event is zoom/pan or reset by checking e.trigger within rangeChanged handler. Please take a look at this JSFiddle.
You must be logged in to reply to this topic.