This is a migrated thread and some comments may be shown as answers.

Empty charts in exported reports

1 Answer 69 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Adil
Top achievements
Rank 1
Adil asked on 12 Jan 2012, 05:53 PM

Hi,

I am using Telerik Reports Q2 2011 with Silverlight 4. I added an empty chart in a report without specifying a DataSource and with Default Type “Pie”. I assigned a Chart Series to this chart in NeedDataSource Event. In this way, chart successfully created and loaded in silverlight report viewer. But, whenever I try to export that report in any format I get an empty chart in the resulting file with the message “There is no or empty series”. Please, suggest a possible solution for this.

Thanks!

Adil

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 16 Jan 2012, 04:11 PM
Hi Adil,

Most likely the code for creating the series and adding it to the chart is executed only once. Please set a break point in the NeedDataSource event and debug what is happening. Additionally, a far more easier approach to bind the chart is through the provided Data Source Components. See the demo reports that utilize charts for specific implementation.

Regards,
Steve
the Telerik team

Q3’11 of Telerik Reporting is available for download. Register for the What's New in Data Tools webinar to see what's new and get a chance to WIN A FREE LICENSE!

Tags
General Discussions
Asked by
Adil
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or