One thing i can't really figure out is how to limit the zooming out (with the mouse wheel) to fit the series data, so to not get empty areas before or after my series.
I tried the following, but it didn't seem to make any difference:
Code: Select all
const axisX = chart.getDefaultAxisX()
.setAnimationScroll( false )
.fit(false, true)
.setChartInteractionFitByDrag(true)
.setScrollStrategy(AxisScrollStrategies.fitting)