Line Height attribute for axis labels


Author
Message
rich dudley
rich dudley
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
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
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K
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


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search