Profile Picture

How to handle when the chart title is too long and mask the chart

Posted By bargitta chen 13 Years Ago

How to handle when the chart title is too long and mask the chart

Author
Message
bargitta chen
Posted 13 Years Ago
View Quick Profile
Junior Member

Junior Member (18 reputation)Junior Member (18 reputation)Junior Member (18 reputation)Junior Member (18 reputation)Junior Member (18 reputation)Junior Member (18 reputation)Junior Member (18 reputation)Junior Member (18 reputation)Junior Member (18 reputation)

Group: Forum Members
Last Active: 12 Years Ago
Posts: 18, Visits: 1
Dear expert,

I use NLable to show the chart title. But sometimes when the title is too long, the NLabel will be wrapped and masks part of the chart. Is it possible to truncate some of it and replace the rest as "..."?

e.g.

"Asia revenues vs. US revenues of ** department in 2005--2008" will changed to "Asia revenues vs. US..."

Nevron Support
Posted 13 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: Last Week
Posts: 3,054, Visits: 4,009

Hi Barqitta,

You can use
label.FitMode = TitleFitMode.Clip;

 or simply reduce the text in the label.



Best Regards,
Nevron Support Team





Similar Topics


Reading This Topic