Profile Picture

how can i scale axis ?

Posted By lee kc 12 Years Ago
Author
Message
lee kc
questionmark Posted 12 Years Ago
View Quick Profile
Forum Newbie

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
Last Active: 9 Years Ago
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




Threaded View



Similar Topics


Reading This Topic