Is there a way to add a manual line break to an XAxis label? I've tried setting the label text (from code-behind) as follows:
Line 1<br>Line 2
Line 1<p>Line 2</p>
Line 1\nLine 2
I'm not particularly familiar with svg text formatting, so I'm hoping someone can point me in the right direction.
2 Answers, 1 is accepted
0
Marin Bratanov
Telerik team
answered on 11 Sep 2012, 11:45 AM
Hi Andy,
SVG does not offer line breaks in a text element directly. This is part of the element's specification: http://www.w3.org/TR/SVG11/text.html#Introduction: SVG performs no automatic line breaking or word wrapping. I am afraid that line breaks are, therefore, not supported in the RadHtmlChart either.
Regards,
Marin Bratanov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
In case anyone else is looking for this functionality, there's a case in the PITS for tooltip and label templates that might help in this regard. Vote if you're interested.