how can i scale axis ?


Author
Message
lee kc
lee kc
Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)
Group: Forum Members
Posts: 2, Visits: 8

data range is 0 ~ 10.

but i want axis start 2 ~ end 8

and step = 3;

i want  2, 5, 8

coding) 

NAxis axisx = chart.Axis(StandardAxis.PrimaryX);

 axisx.View = new NRangeAxisView(new NRange1DD(2, 8), true, true);

 NLinearScaleConfigurator scale = axisx.ScaleConfigurator as NLinearScaleConfigurator;
 scale.MajorTickMode = MajorTickMode.CustomStep;
 scale.CustomStep = 3;

result)  3 ,  6

why not start from 2 ? Help me


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search