Series data labels have more padding within the bounding box in 15.1 than 14.1


Series data labels have more padding within the bounding box in 15.1...
Author
Message
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,

Yes it is a new property, which is meant to replace InflateWidth / InflateHeight. Generally the distance from the backplane border to the text should be the same - it's possible that you get a one pixel difference due to pixel snapping - can you send us a screenshot of the different charts?


Best Regards,
Nevron Support Team


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
Is BackplaneStyle.Padding a new property added in 15.1?
I get 'Nevron.GraphicsCore.NBackplaneStyle' does not contain a definition for 'Padding' in 14.1

Do you happen to know what the increase in padding is from 14.1 from 15.1?

Thanks

Kevin
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,
Yes - you need to set the Padding property of the data label style - for example:
dataLabelStyle.TextStyle.BackplaneStyle.Padding = new NMarginsL(3, 3, 3, 3);
applies 3 pt distance of the text from the backplane.



Best Regards,
Nevron Support Team


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
Hi

This is a minor visible change but it affects a large number of our image comparison tests. Is there a property I can use to set the padding around the data point label within its box?

Thanks

Kevin
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