Can I insert a line break in Chart text?

Stimulsoft Reports.WEB discussion
Post Reply
Chris42
Posts: 27
Joined: Fri Aug 18, 2017 5:50 pm

Can I insert a line break in Chart text?

Post by Chris42 »

Hi,

I've been using '\n' to introduce a line break in the main Chart Title, Series Title (displayed in the Legend) and the X/Y-Axis Labels. This works fine in the WebForms designer Preview and HTML Preview tabs, and when exporting to PDF. However, using the HTML viewer to render the report seems to be stripping them (despite the layout assuming the line breaks are present).

Is there a way I can get this to work?

I've tried the HTML <br> tag but that's ignored and emitted as-is. The Text component works as expected.

viewtopic.php?&t=3710

Thanks,
Chris
Attachments
LineBreak.png
LineBreak.png (24.86 KiB) Viewed 1477 times
ReportOrder.mrt
(13.51 KiB) Downloaded 303 times
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Can I insert a line break in Chart text?

Post by Alex K. »

Hello,

Unfortunately, it is not supported in the HTML viewer.
We have added this task to our to-do list.

Thank you.
Post Reply