Profile Picture

Line Height attribute for axis labels

Posted By rich dudley 7 Years Ago
Author
Message
rich dudley
Question Posted 7 Years Ago
View Quick Profile
Forum Guru

Forum Guru (51 reputation)Forum Guru (51 reputation)Forum Guru (51 reputation)Forum Guru (51 reputation)Forum Guru (51 reputation)Forum Guru (51 reputation)Forum Guru (51 reputation)Forum Guru (51 reputation)Forum Guru (51 reputation)

Group: Forum Members
Last Active: Last Year
Posts: 33, Visits: 76
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
This post has been flagged as an answer
Posted 7 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)

Group: Forum Members
Last Active: Last Year
Posts: 3,039, Visits: 3,746
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