Profile Picture

How to set min and max y-axis and tick values

Posted By jerry tovar 10 Years Ago
Author
Message
jerry tovar
Question Posted 10 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)

Group: Forum Members
Last Active: 9 Years Ago
Posts: 2, Visits: 5
I have a nevron chart that shows percentages, 0% to 100+%.

I want the y-Axis to display a range of min=0% to max=110%. But when I run my code, the chart displays fine, but the y-Axis values or ticks are (0%, 50%, 100%). The 110% label or tick does not display.

How can I force the y-Axis labels or ticks to display a minimum of 0% and a max of 110%?

Here is my code:
Snippet
var yAxis = chart.Axis(StandardAxis.PrimaryY);SnippetyAxis.View = new NRangeAxisView(new NRange1DD(.0, 1.10), true, true);Snippetvar scale = (NLinearScaleConfigurator)yAxis.ScaleConfigurator;Snippetscale.LabelValueFormatter = new NNumericValueFormatter("P0");Snippetscale.RoundToTickMax = false;Snippetscale.RoundToTickMin = false;







Similar Topics


Reading This Topic