05-27-2013 12:06 PM
haai there,
need help.
I've a graph, which is not fix. i mean that the scatterstrips moves with the graph.
i want to have a second xaxis, with the same values and which moves exactly parallel to xaxis1.
So xaxis2 should be a copy of xAxis1, but should not have any influence to the graph or the plotting.
And i plot the graph with xAxis1 over yAxis.
Could you help me?
06-03-2013 02:59 AM
Hello maxmustermann8292373,
please take a look at the following thread as your question has been answered there:
http://forums.ni.com/t5/Measurement-Studio-for-NET/Secondary-axis-on-WPF-graph/m-p/2389628#M14096
Best Regards,
Peter
06-03-2013 04:38 AM
Sorry, maybe it's my fault.
But still don't know the solution for my problem.
I know how to get a second axis.
But don't know how to get a copy of the first axis.
I plot the graph with graph.plotXY(arrayx1,arrayy1);
and i need a copy of x1 in x2....
how to apportion the arrayx1 to x2?
06-03-2013 10:42 AM
Try XAxis.Clone() method, or, make sure various properties on the xAxis2 is same as xAxis1.
Hope this helps!
Vijet Patankar
National Instruments