Nevron Forum
Back
Login
Register
Login
Register
Home
»
Nevron Vision for NET
»
Nevron Chart for .NET
»
Const line label outside of the grid?
Const line label outside of the grid?
Post Reply
Const line label outside of the grid?
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
Goto Topics Forum
Author
Message
Syrhey Karol'
Syrhey Karol'
posted 13 Years Ago
ANSWER
Topic Details
Group: Forum Members
Posts: 21,
Visits: 74
Hi!
Is it possible to draw a const line label outside of the grid? Like in the red square of the attached image.
Or I should use custom painting for that goal.
Best Regards,
Zonder.
Attachments
Const Line label.png
(
85 views,
14.00 KB
)
Reply
Like
0
Reply
Syrhey Karol'
Syrhey Karol'
posted 13 Years Ago
ANSWER
Post Details
Group: Forum Members
Posts: 21,
Visits: 74
Hi Guys!
Thank you very much for the solution!
I’d only add one more scale configure code line:
scale.CreateNewLevelForCustomLabels = false;
scale.CustomLabelFitModes = new LabelFitMode[] { LabelFitMode.RemoveOverlap };
scale.LabelFitModes = new LabelFitMode[] { LabelFitMode.RemoveOverlap };
And it works better if I use 2 or more custom labels.
Best Regards,
Zonder.
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
Const line label outside of the grid?
Syrhey Karol'
-
13 Years Ago
Hi Zonder, You can offset the label: constLine.TextAlignment =...
Nevron Support
-
13 Years Ago
Hi Guys! Thank you very much for the advice. But it seems the chart...
Syrhey Karol'
-
13 Years Ago
Hi Zonder, Another approach is to use custom value labels: NChart...
Nevron Support
-
13 Years Ago
Hi Guys! Thank you very much for the solution! I’d only add one more...
Syrhey Karol'
-
13 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