Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

axis

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?

0 Kudos
Message 1 of 4
(5,498 Views)

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

0 Kudos
Message 2 of 4
(5,446 Views)

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?

0 Kudos
Message 3 of 4
(5,443 Views)

Try XAxis.Clone() method, or, make sure various properties on the xAxis2 is same as xAxis1.

 

Hope this helps!

 

Vijet Patankar

National Instruments

0 Kudos
Message 4 of 4
(5,422 Views)