Profile Picture

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

Posted By Kevin Harrison 9 Years Ago

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

Author
Message
Kevin Harrison
Question Posted 9 Years Ago
View Quick Profile
Supreme Being

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
Last Active: 3 Years Ago
Posts: 176, Visits: 1,865
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

Nevron Support
Posted 9 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Yesterday @ 1:54 AM
Posts: 3,054, Visits: 4,009
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
Posted 9 Years Ago
View Quick Profile
Supreme Being

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
Last Active: 3 Years Ago
Posts: 176, Visits: 1,865
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
Posted 9 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Yesterday @ 1:54 AM
Posts: 3,054, Visits: 4,009
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





Similar Topics


Reading This Topic