Simultaneous scaling ViewBox elements

I would like to have several signal graphics (ViewBox elements) being scaled at the same time (not each one in its own area) without merging them into one shared area. Any ideas?



There is the “plotting multiple line section”.

Hey @rbelyalov21065391 welcome to the forum. I’m not sure I understand what you mean exactly –

By not merging them into one shared area do you mean you want to keep the individual plots distinct? But you want them all to share the same magnitude scale?

If that’s what you’re after, I think the easiest solution would be to calculate the scale yourself (find the min/max of your data) and then apply that same scale to all the plots.

If instead you want to lock the x (or y) axis together across multiple plots, take a look at .setXLink() and .setYLink() on the ViewBox object. This allows you to link panning/scaling of plots together.