Bug with Shapes(Rectangle, Triangle etc) (SOLVED)

Stimulsoft Reports.JS discussion
Post Reply
rodrigorodrigues
Posts: 11
Joined: Mon Aug 01, 2016 11:25 pm

Bug with Shapes(Rectangle, Triangle etc) (SOLVED)

Post by rodrigorodrigues »

Hello, when I insert any shape on layout mode, the preview mode shows very diferent, see the attachment.

This happens when I insert any text inside the shape, can I do that? or is it a bug?
Attachments
Preview mode
Preview mode
preview.png (18.81 KiB) Viewed 5565 times
Layout mode
Layout mode
designer.png (50.63 KiB) Viewed 5565 times
Last edited by rodrigorodrigues on Fri Aug 05, 2016 11:09 am, edited 1 time in total.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Bug with Shapes(Rectangle, Triangle etc)

Post by Alex K. »

Hello,

Thank you for the bug report.
We need some additional time for fix the issue. We will let you know about the result.

Thank you.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Bug with Shapes(Rectangle, Triangle etc)

Post by Alex K. »

Hello,

Please try to set the following option:

Code: Select all

var options = new Stimulsoft.Designer.StiDesignerOptions();
options.appearance.htmlRenderMode = Stimulsoft.Report.Export.StiHtmlExportMode.Div;
Thank you.
rodrigorodrigues
Posts: 11
Joined: Mon Aug 01, 2016 11:25 pm

Re: Bug with Shapes(Rectangle, Triangle etc)

Post by rodrigorodrigues »

it worked, thank you!

This issue also happens using the Designer standalone, you should set this option inside the Designer.exe
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Bug with Shapes(Rectangle, Triangle etc) (SOLVED)

Post by Alex K. »

Hello

We are always glad to help you!
Let us know if you need any additional help.

Thank you.
terje.pedersen
Posts: 80
Joined: Thu Aug 18, 2016 7:29 am

Re: Bug with Shapes(Rectangle, Triangle etc) (SOLVED)

Post by terje.pedersen »

In our solution this problem was solved by using:

Code: Select all

const settings = new Stimulsoft.Report.Export.StiHtmlExportSettings();
settings.htmlType = Stimulsoft.Report.StiHtmlType.Html5;
The designer.exe (JS_2016.08.12) > Preview still doesn't work regarded to this issue, the preview doesn't look like it should do.
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

Re: Bug with Shapes(Rectangle, Triangle etc) (SOLVED)

Post by Jan »

Hello.

We will change default render mode for the report designer in few next versions.

Thank you.
Post Reply