03-20-2013 01:02 AM
Hi,
I am using scatter graph, having multiple plots. The scatter graph is shown with multiple Y-axes with a common X axis. Desired Y-axis can be selected by the user (as shown in the fig-1).
What I need to achieve is, the user can move (up or down) the selected Y-axis of the graph independent of the other Y-axes present in the graph as shown in fig-2 (down) and fig-3 (up).
I have depicted the above mentioned scenario in attached sample graph. The scatter graph contains 2 Y-axis for graph1 and graph2. Currently the Y-axis of graph-2 is selected.
fig-1 shows the actual graph
fig-2 shows that Y-axis of graph2 has been moved downward 1unit
fig-3 shows that Y-axis of graph2 has been moved upward 1unit.
I think it can be achieved through panning, but panning moves all the graphs.
Kindly guide through some sample code.
Thankyou.
03-20-2013 06:56 PM
If each plot is assigned to its own Y-axis, changing the range of one axis should not affect the other. Are you sure that each plot has been assigned a unique axis as shown here?
How is the desired y-xais selected by the user?
How are you moving the axis up and down?
Is there a reason why you can not display both Y Axes?
03-21-2013 02:08 PM
Actually I dont want to change the range. I just want to move the selected graph upwards or downwards, without disturbing the other graph. As I have demonstrated in the attachment.
As I have mentioned earlier the required functionality is just like panning, but the problem is that by doing so both the graphs move.
Thankyou.
03-22-2013 06:27 PM
It does not appear to be possible to move the plots individually. The panning properties can only be set for the ScatterGraph as a whole. Can you provide more details on why you need to move the graphs individually?