Profile Picture

How to set same number of digits of values in y axis

Posted By shweta jain Last Year
Author
Message
shweta jain
Question Posted Last Year
View Quick Profile
Forum Newbie

Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)

Group: Forum Members
Last Active: 2 Months Ago
Posts: 0, Visits: 104
Hi,
I want same number of digit of values in y axis. I have seen this in one of the examples of nevron, there have same number of digit values in x axis. I have attached this examples chart in this message. How can we do same number of digit of values in y axis of chart.https://www.nevron.com/forum/uploads/images/be5c73a5-2f2b-4fe6-b14a-c4fb.png


Nevron Support
Posted Last Year
View Quick Profile
Supreme Being

Supreme Being (3,905 reputation)Supreme Being (3,905 reputation)Supreme Being (3,905 reputation)Supreme Being (3,905 reputation)Supreme Being (3,905 reputation)Supreme Being (3,905 reputation)Supreme Being (3,905 reputation)Supreme Being (3,905 reputation)Supreme Being (3,905 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 2,879, Visits: 3,045
Hi Shweta,
You can apply a custom numeric value formatter:
   NLinearScaleConfigurator yScale = (NLinearScaleConfigurator)chart.Axis(StandardAxis.PrimaryY).ScaleConfigurator;
    yScale.LabelValueFormatter = new NNumericValueFormatter("00.");
The above for example will make sure the numbers always start with 2 digits. 
Let us know if you have any questions.

Best Regards,
Nevron Support Team





Similar Topics


Reading This Topic