Nevron Forum
Back
Login
Register
Login
Register
Home
»
Nevron Vision for NET
»
Nevron Chart for .NET
»
AxisY's zero align issue
AxisY's zero align issue
Post Reply
AxisY's zero align issue
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
Goto Topics Forum
Author
Message
inhyuk son
inhyuk son
posted 15 Years Ago
ANSWER
Topic Details
Group: Forum Members
Posts: 21,
Visits: 1
I want the labels on Y-axis to be start from zero.
What should I do?
Attachments
1.PNG
(
58 views,
23.00 KB
)
Reply
Like
0
Reply
Michael Hayford
Michael Hayford
posted 15 Years Ago
ANSWER
Post Details
Group: Forum Members
Posts: 14,
Visits: 1
Here's what I've done to get the zero included on the axis:
' use a range axis view to set the actual range of values you want displayed.
chart.Axis(StandardAxis.PrimaryY).View = New NRangeAxisView(New NRange1DD(0, yMax))
' use a scale configurator to turn off the tick rounding at the axis minimum
Dim valueScale As NLinearScaleConfigurator = New NLinearScaleConfigurator()
valueScale.RoundToTickMin = False
chart.Axis(StandardAxis.PrimaryY).ScaleConfigurator = valueScale
This has worked for me. I'd be happy to know if there is a "better" way.
Regards
Mike
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Threaded View
Threaded View
AxisY's zero align issue
inhyuk son
-
15 Years Ago
Here's what I've done to get the zero included on the axis: ' use a...
Michael Hayford
-
15 Years Ago
Hi Michael, Hi Inhyuk, Yes that's the right way to do it - you can...
Blagovest Milanov 1
-
15 Years Ago
Hi Mike, Just a short note to take a look at the PrimaryY Axis &...
Blagovest Milanov 1
-
15 Years Ago
Post Reply
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search