How to extend chart to multiple pages

Stimulsoft Reports.WPF discussion
Post Reply
sandynith
Posts: 64
Joined: Thu Dec 12, 2013 4:03 am

How to extend chart to multiple pages

Post by sandynith »

Hi,

I am trying to render a Pie chart which has too many legend values which can't fit in a single page, hence chart needs to extend to multiple pages.

I have tried setting the following properties but couldn't get the desired results:
Page.UnlimitedHeight = true
chart.GrowToHeight = true
in the chart Before render event set this.chart1.Height = 80.0 (for example sake - but I have no way of knowing the exact height)

Stimulsoft WPF version: 2014.1.1900
Please find attached a sample report showing the problem.
Sample shows this problem with the Pie chart, but I have same problem with StiPieSeries, StiClusteredColumnSeries and StiLineSeries and need a fix.

All I want is if there are two many legend values to fit in one page then split/extend the chart to next (or multiple pages). Page could be A4/A3 and Protrait/Landscape etc.


For your advice please..
Thanks,
Sandeep
Attachments
Pie chart not extending to the next page
Pie chart not extending to the next page
Problem mulipage chart.JPG (93.4 KiB) Viewed 3317 times
Problem Multiple Page chart.mrt
Sample report showing Pie chart with large number of legends values to show
(8.04 KiB) Downloaded 255 times
Problem Mulipage chart.csv
Sample data with say 300 data values..
(7.33 KiB) Downloaded 268 times
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: How to extend chart to multiple pages

Post by Alex K. »

Hello,

Unfortunately, this feature is not available for Chart component.
Please try to split your chart for several.

Thank you.
sandynith
Posts: 64
Joined: Thu Dec 12, 2013 4:03 am

Re: How to extend chart to multiple pages

Post by sandynith »

Hi Aleksey,
O thats a sad news for me. But would you please guide what do you mean by split chart for several?
Possible modify my sample code to show me the work around please?

Thanks,
Sandeep
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: How to extend chart to multiple pages

Post by Alex K. »

Hello,

A mean split your chart by several. One part of data in one chart, second part of data in second chart and etc depends by data count.

Thank you.
sandynith
Posts: 64
Joined: Thu Dec 12, 2013 4:03 am

Re: How to extend chart to multiple pages

Post by sandynith »

Hi Aleksey, splitting the chart to several may not be an ideal solution as in that case charts will not give the true picture of our system health.
But I think we can live with this limitation for now.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: How to extend chart to multiple pages

Post by Alex K. »

Hello,

Ok.
Let us know if you need any additional help.

Thank you.
Post Reply