11-29-2010 11:56 AM
Hello,
I am using a Waveform Chart to display temperatures (Y-Scale) versus Time (X-Scale).
My chart is quite wide, to see a "long" time range, and I would like to simply copy the Y-Scale
and display it on the right side of the chart again, simply for better readability of the temperatures.
I have tried with the customize option but I am not able to copy and paste the Y-Scale.
Thanks,
Patrick
Solved! Go to Solution.
11-29-2010 12:03 PM
right click on the Y-scale itself and choose duplicate scale.
Then click on new and choose "swap sides'
From teh plot legend pop-up on a plot and choose scale the data should be plotted against.
If this is just for display then you can leave the plot seetings associated with scale alone.
If you are auto-scaling you will need extra code to keep the two scales sync'd up.
Ben
11-30-2010 10:59 AM
Hi Ben,
Thanks for your answer. Can I control the second scale with a property node as well?
I am using a property node for the first Y scale to set the Y Min/Max values with a button.
I am doing this to "rescale" my chart in case I have been zooming or moving around in it, to be able to see
the "whole" chart again quickly. The additional scale works fine with the zoom, but it does not rescale.
Thanks
Patrick
11-30-2010 11:04 AM
When using multiple scales you will have to set the "ActiveScale" before applying changes. You can avoid race conditions if you expand your property node to include the active scale as the first property.
Ben
12-01-2010 07:15 AM
Thanks Ben, that does the job perfectly.