Profile Picture

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

Posted By shweta jain 5 Years Ago
Author
Message
shweta jain
Question Posted 5 Years Ago
View Quick Profile
Junior Member

Junior Member (21 reputation)Junior Member (21 reputation)Junior Member (21 reputation)Junior Member (21 reputation)Junior Member (21 reputation)Junior Member (21 reputation)Junior Member (21 reputation)Junior Member (21 reputation)Junior Member (21 reputation)

Group: Forum Members
Last Active: 3 Years Ago
Posts: 16, Visits: 192
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 5 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)

Group: Forum Members
Last Active: Last Year
Posts: 3,039, Visits: 3,746
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