Profile Picture

Line Height attribute for axis labels

Posted By rich dudley Last Year
Author
Message
rich dudley
Question Posted Last Year
View Quick Profile
Forum Member

Forum Member (49 reputation)Forum Member (49 reputation)Forum Member (49 reputation)Forum Member (49 reputation)Forum Member (49 reputation)Forum Member (49 reputation)Forum Member (49 reputation)Forum Member (49 reputation)Forum Member (49 reputation)

Group: Forum Members
Last Active: 5 hours ago
Posts: 30, Visits: 70
How do I adjust the spacing between lines similar to this: "<p style="line-height:15px;">Jan<br/>17</p>"?

I have already set the axis text format to XML with:
"((NOrdinalScaleConfigurator)currentAxis.ScaleConfigurator).LabelStyle.TextStyle.TextFormat = TextFormat.XML;"
The break works but the style obviously doesn't because it needs to be XML not html.


Nevron Support Team
This post has been flagged as an answer
Posted Last Year
View Quick Profile
Supreme Being

Supreme Being (3,494 reputation)Supreme Being (3,494 reputation)Supreme Being (3,494 reputation)Supreme Being (3,494 reputation)Supreme Being (3,494 reputation)Supreme Being (3,494 reputation)Supreme Being (3,494 reputation)Supreme Being (3,494 reputation)Supreme Being (3,494 reputation)

Group: Moderators
Last Active: 14 hours ago
Posts: 2,677, Visits: 2,560
Hi Rich,
Implementing the full HTML specification is outside the scope of the rich text formatted texts in the control. This will simply be an overkill (we have implemented almost everything found in HTML in our NOV Rich Text Control) and be too heavy for processing. The newest SP of the control exposes a paragraph attribute that allows you to specify additional line spacing - for example:
<p linespacing='10pt'>line 1<br/>line 2</p>
Hope this helps - let us know if you meet any problems.


Best Regards,
Nevron Support Team





Similar Topics


Reading This Topic