Nevron Forum
Back
Login
Register
Login
Register
Home
»
Nevron Open Vision for NET
»
NOV Chart for .NET
»
Chart-Legend with no borders
Chart-Legend with no borders
Post Reply
Chart-Legend with no borders
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
Goto Topics Forum
Author
Message
joern kunze
joern kunze
posted 3 Years Ago
ANSWER
Topic Details
Group: Forum Members
Posts: 86,
Visits: 221
Hi Experts,
I have created a manual legend for a chart - which basically is working:
But I have 2 problems:
1. How can I set the border lines around the legend to none ?
=> there is only oLegend.BorderStyle property - but I could not find a way to change this property to 'NoBorder'
2. Can I format the Legend entry text in a way that I can set Numbers subscript ?
The desired result should look then like (picture created with paint-app):
Thanks for your help,
best regards,
Joern
Tags
borders
legend
text style
Reply
Like
0
Reply
Nevron Support
Nevron Support
posted 3 Years Ago
ANSWER
Post Details
Group: Administrators
Posts: 3.1K,
Visits: 4.2K
Hi Joern,
Regarding the legend - to turn off the legend grid lines you can use:
legend.HorizontalBorderStyle.Width = new NLength(0);
legend.VerticalBorderStyle.Width = new NLength(0);
As for the legend items text - you need to switch the text mode to XML for each legend item cell data:
someData.TextStyle.TextFormat = TextFormat.XML;
Then you can use XML formatting to apply subscript and superscript text.
Let us know if you meet any problems or have any questions.
Best Regards,
Nevron Support Team
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
Chart-Legend with no borders
joern kunze
-
3 Years Ago
... unfortunatly, I posted this question under 'NOV Chart for NET' -...
joern kunze
-
3 Years Ago
Hi Joern, No problem about the post. You can turn off the legend...
Nevron Support
-
3 Years Ago
Hi Experts, thanks a lot for the quick response - unfortunatly, when I...
joern kunze
-
3 Years Ago
Hi Joern, Regarding the legend - to turn off the legend grid lines...
Nevron Support
-
3 Years Ago
... thank you so much - works perfectly now :-)
joern kunze
-
3 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