Vaadin Chart Zooming Issue

Hi,

I’m using Vaadin Charts 2 and, to avoid to get too many labels on xAxis, I used setTickInterval() function.
But when I zoom on a line chart, I want the tick interval to be recalculated, to show always up-to 20 labels on xAxis.

Does anyone know if is there a way to do this?

Thanks in advance.
Luca