2018.1 - Chart in DataBand causes error

Stimulsoft Reports.WEB discussion
Post Reply
hellenschmidt
Posts: 32
Joined: Fri Dec 07, 2012 1:40 pm

2018.1 - Chart in DataBand causes error

Post by hellenschmidt »

Hi,

in 2018.1 it is no longer possible to put a chart inside a databand!
pic1.png
pic1.png (18.15 KiB) Viewed 1879 times
pic2.png
pic2.png (4.83 KiB) Viewed 1879 times
english: cannont convert StiChart to StiDataBand
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: 2018.1 - Chart in DataBand causes error

Post by Alex K. »

Hello,

We couldn't reproduce this bug.
Please clarify which designer, viewer are you use and step by step guide how to reproduce the issue.

Thank you.
hellenschmidt
Posts: 32
Joined: Fri Dec 07, 2012 1:40 pm

Re: 2018.1 - Chart in DataBand causes error

Post by hellenschmidt »

Hi,

report was generated with StiWebDesigner, see attached file

Regards
Holger Hellenschmidt
Attachments
Report.zip
(2.13 KiB) Downloaded 128 times
hellenschmidt
Posts: 32
Joined: Fri Dec 07, 2012 1:40 pm

Re: 2018.1 - Chart in DataBand causes error

Post by hellenschmidt »

Hi,

any idea? Our customers are a little bit nervous.

Regards,
Holger Hellenschmidt
vineet
Posts: 69
Joined: Fri Nov 10, 2017 3:12 am

Re: 2018.1 - Chart in DataBand causes error

Post by vineet »

I am getting the same error on 2018.1.

Unable to cast object of type 'Stimulsoft.Report.Chart.StiChart' to type 'Stimulsoft.Report.Components.StiDataBand'.
at Stimulsoft.Report.Engine.StiDataBandV2Builder.FindDetails(StiDataBand masterDataBand) in D:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Report\Engine\EngineV2\Builders\StiDataBandV2Builder.cs:line 480 at Stimulsoft.Report.Engine.StiDataBandV2Builder.Prepare(StiComponent masterComp) in D:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Report\Engine\EngineV2\Builders\StiDataBandV2Builder.cs:line 1715 at Stimulsoft.Report.Components.StiComponent.Prepare() in D:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Report\Components\StiComponent.cs:line 1273 at Stimulsoft.Report.Engine.StiRenderProviderV2.Render(StiReport report, StiRenderState state) in D:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Report\Engine\EngineV2\StiRenderProviderV2.cs:line 410 at Stimulsoft.Report.Engine.StiReportV2Builder.RenderSingleReport(StiReport masterReport, StiRenderState renderState) in D:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Report\Engine\EngineV2\Builders\StiReportV2Builder.cs:line 144 at Stimulsoft.Report.StiReport.RenderReport(StiRenderState renderState) in D:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Report\StiReport.Render.cs:line 350 at Stimulsoft.Report.StiReport.Render(StiRenderState renderState, StiGuiMode guiMode) in D:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Report\StiReport.Render.cs:line 210 at Stimulsoft.Report.StiReport.Render(StiRenderState renderState) in D:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Report\StiReport.Render.cs:line 97 at Stimulsoft.Report.StiReport.Render(Boolean showProgress) in D:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Report\StiReport.Render.cs:line 79
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: 2018.1 - Chart in DataBand causes error

Post by HighAley »

Hello.

We have fixed this issue.
The fix will be available in our next build un a few days.

Thank you.
Post Reply