Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Get Axis Interval in Auto Mode

Hello,

 

I am making a graph where the axes' MajorDivisions.Mode is Auto. How do I get the number of tick marks that have been produced on the axes when the graph is filled with data and loaded?

 

Thanks,

Kelly

0 Kudos
Message 1 of 2
(2,571 Views)

The generated division values are not directly accessible. To access them, you could create a custom RangeDivisionsMode implementation that calls Auto and saves the result to a property before returning, so that the application can access it.

 

What do you plan to do with the divisions? Depending on your goal, there may be a simpler way to accomplish it.

~ Paul H
0 Kudos
Message 2 of 2
(2,541 Views)