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


Author
Message
jerry tovar
jerry tovar
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
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;



GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search