How do I change the border colour of a data label or turn off the border?


How do I change the border colour of a data label or turn off the...
Author
Message
Kevin Harrison 1
Kevin Harrison 1
Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)
Group: Forum Members
Posts: 176, Visits: 1.9K

This is using 14.8.12.12
 I cannot get the data label border to change using DataLabelStyle.TextStyle.BorderStyle.Color,
or turn it off using DataLabelStyle.TextStyle.BorderStyle.Width = 0.
I have also tried using TextStyle.BackplaneStyle but it has no BorderStyle, only a FillStyle.
I always get a black border no matter what.
What am I doing wrong?
Thanks
Kevin



 


Reply
Nevron Support
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K
Hi Kevin,

The following code shows how disable the border around the data labels:

bar.DataLabelStyle.TextStyle.BackplaneStyle.StandardFrameStyle.Visible = false;
bar.DataLabelStyle.TextStyle.BackplaneStyle.FillStyle = new NColorFillStyle(Color.Cyan);

Hope this helps - let us know if you meet any problems.

Best Regards,
Nevron Support Team


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