I can't show data from report in chart. All i've found to bind data from datasource to chart is chart.datasourceid but it doesn't exist. Is there any step by step manual how to show sql results in a chart?
1 Answer, 1 is accepted
0
Chavdar
Telerik team
answered on 29 Aug 2008, 11:26 AM
Hello Milan,
To populate the chart with data you have to use its NeedDataSource event. You can find an example which demonstrates this functionality in the sample solutions (C# and VB.NET) which are installed with Telerik Reporting. The sample is called Product Line Sales and it uses a Chart report item which is populated with custom data from an SQL query.
All the best,
Chavdar
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.