Bill
Bill

Reputation: 31

zingchart scale-y-n zoomtovalue

It is possible to use the zoomtovalues in scale-y-2 ? I have several series in multiple y-axis and I would like to zomm each scale-y-n to specific values, but I do not know how...

Thanks and regards,

Upvotes: 3

Views: 201

Answers (1)

Stalfos
Stalfos

Reputation: 1520

We've added the ability to do this in one of our recent updates. To zoom in on a different scale, append the scale number onto the option in the zoomtovalues method call. E.G.:

zingchart.exec('myChart','zoomtovalues',{
  'ymin-2':0,
  'ymax-2':500000
});

This will zoom to 0, 500000 on scale-y-2 and can be seen in action here.

Sorry for the late answer... make sure to let me know if you have any other, newer questions!

Upvotes: 3

Related Questions