Hello Team,
I use a Vaadin ChartJS library and I have generated a chart (in Cuba).
On Y-axis I have values and on X-axys I have labels (Company One, Company Two etc).
Unfortunatelly the zoom works only for Y-axis.
Is it possible to make zoom on X-Axis (with labels)? There are dozens of companies and is not seen very well.
Please support.
The code below:
barChartConfig
.data()
.and()
.options()
.responsive(true)
.title()
.display(true)
.text("First ten clients")
.and()
.scales()
.add(Axis.Y, new LinearScale()
.ticks()
.stepSize(25)
.and()
.display(true)
.position(Position.LEFT)
.id("y-dataset1-id"))
.and()
.legend()
.position(Position.BOTTOM)
.and().zoom();
Regards,
-n