Hi
Whenever I drop a chart onto my Detail section, it automatically opens the Chart Wizard. Even if I right click the chart and explicitly select Properties, it will still open the Chart Wizard. I am unable to add/bind to Data Sources using the wizard. Is there any way to bypass this issue and build charts that will populate dynamically?
I am building Telerik Reports in VS .NET 2010. Opening the Report Wizard causes my VS crash and so far I have been building reports without the Wizard. I am also unable to run the Telerik Report Designer on my system.
Thanks
Radhika
Whenever I drop a chart onto my Detail section, it automatically opens the Chart Wizard. Even if I right click the chart and explicitly select Properties, it will still open the Chart Wizard. I am unable to add/bind to Data Sources using the wizard. Is there any way to bypass this issue and build charts that will populate dynamically?
I am building Telerik Reports in VS .NET 2010. Opening the Report Wizard causes my VS crash and so far I have been building reports without the Wizard. I am also unable to run the Telerik Report Designer on my system.
Thanks
Radhika
4 Answers, 1 is accepted
0
Hello Radhika,
The chart item does not have a wizard in the sense that our Table and CrossTab items do. This so called wizard is more like a grouping for the most used properties of the chart, so you can easily get started, however it was designed for the RadChart for ASP.NET AJAX control.
The chart engine has been designed in the context of this being a web control (it is in fact the engine of RadChart for ASP.NET AJAX), while we are trying to use it in our reporting product, which inner workings are quite different. In Q1 2010, we've made the first steps in integrating the chart item to the reporting engine by introducing a DataSource property - it is available in the property grid of the item, but as we have more work on the chart item as a whole, we left out the chart builder/wizard unchanged until we decide on the changes and concept for it.
For the time being, you should set the data source property for the Chart item at design time with the help of the Create New Data Source wizard is enough for the chart to show some series if the data source contains numeric columns. To further customize the chart series appearance use the Chart Series Collection editor. The editor is shown after clicking on the ellipses of the Series property in the Properties window. To point out which column of the data source the chart series should bind to you can use the DataYColumn/DataXColumn properties of the series.
One example of how this is accomplished is shown in the Creating the Product Line Sales Report with Telerik Reporting video. The chart setup starts at 00:10:00.
Kind regards,
Steve
the Telerik team
The chart item does not have a wizard in the sense that our Table and CrossTab items do. This so called wizard is more like a grouping for the most used properties of the chart, so you can easily get started, however it was designed for the RadChart for ASP.NET AJAX control.
The chart engine has been designed in the context of this being a web control (it is in fact the engine of RadChart for ASP.NET AJAX), while we are trying to use it in our reporting product, which inner workings are quite different. In Q1 2010, we've made the first steps in integrating the chart item to the reporting engine by introducing a DataSource property - it is available in the property grid of the item, but as we have more work on the chart item as a whole, we left out the chart builder/wizard unchanged until we decide on the changes and concept for it.
For the time being, you should set the data source property for the Chart item at design time with the help of the Create New Data Source wizard is enough for the chart to show some series if the data source contains numeric columns. To further customize the chart series appearance use the Chart Series Collection editor. The editor is shown after clicking on the ellipses of the Series property in the Properties window. To point out which column of the data source the chart series should bind to you can use the DataYColumn/DataXColumn properties of the series.
One example of how this is accomplished is shown in the Creating the Product Line Sales Report with Telerik Reporting video. The chart setup starts at 00:10:00.
Kind regards,
Steve
the Telerik team
FREE WEBINAR ON THE NEW REPORT DESIGNER! Join us on Friday, June 29 at 10:00 AM PST for a comprehensive demo of the official version of the standalone Report Designer and find out how easy it is to empower your users with creating, editing and sharing ad-hoc reports. You may even win a free Telerik Ultimate Collection license! Register today >>
0
Radhika
Top achievements
Rank 1
answered on 28 Jun 2012, 11:11 AM
Thanks Steve!
I am able to use the Chart Series Collection Editor to add values items explicitly to my charts. However, despite the fact that I used the Create Data Source wizard to add a data source to my chart's properties, the chart is not getting populated dynamically.
Am I supposed to add a data-source that included only the table columns that I need for the chart? I used the same exact query as my Report Data source while creating the Chart data-source.
Also, I am not conversant with C# and the back end working of the report code. Is there any code/event that I need to add somewhere?
Thanks
I am able to use the Chart Series Collection Editor to add values items explicitly to my charts. However, despite the fact that I used the Create Data Source wizard to add a data source to my chart's properties, the chart is not getting populated dynamically.
Am I supposed to add a data-source that included only the table columns that I need for the chart? I used the same exact query as my Report Data source while creating the Chart data-source.
Also, I am not conversant with C# and the back end working of the report code. Is there any code/event that I need to add somewhere?
Thanks
0
Radhika
Top achievements
Rank 1
answered on 29 Jun 2012, 08:14 AM
Thanks for the video link! I can dynamically populate bar charts now, but pie charts continue to elude me. I have added a data-source to the Chart properties. Am I supposed to add the data columns I need as the sectors in the 'Data X column' or the Chart Series Collection Editor? Or do I need to add Items?
0
Hi Radhika,
The only special/different thing about pie chart is that a pie chart uses a single series of data. The binding is the same as all other chart types and the video link of the Product LineSales report also contains the creation and binding of a pie chart.
Greetings,
Steve
the Telerik team
The only special/different thing about pie chart is that a pie chart uses a single series of data. The binding is the same as all other chart types and the video link of the Product LineSales report also contains the creation and binding of a pie chart.
Greetings,
Steve
the Telerik team
BLOGGERS WANTED! Write a review about Telerik Reporting or the new Report Designer, post it on your blog and get a complimentary license for Telerik Reporting. We’ll even promote your blog and help bring you a few fresh readers. Yes, it’s that simple. And it’s free. Get started today >