Profile Picture

Line Height attribute for axis labels

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

Forum Member (28 reputation)Forum Member (28 reputation)Forum Member (28 reputation)Forum Member (28 reputation)Forum Member (28 reputation)Forum Member (28 reputation)Forum Member (28 reputation)Forum Member (28 reputation)Forum Member (28 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 17, Visits: 47
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 Week
View Quick Profile
Supreme Being

Supreme Being (3,273 reputation)Supreme Being (3,273 reputation)Supreme Being (3,273 reputation)Supreme Being (3,273 reputation)Supreme Being (3,273 reputation)Supreme Being (3,273 reputation)Supreme Being (3,273 reputation)Supreme Being (3,273 reputation)Supreme Being (3,273 reputation)

Group: Moderators
Last Active: 3 days ago @ 8:33 AM
Posts: 2,593, Visits: 2,279
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