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

DataSet bind to Chart

1 Answer 103 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
DavidT
Top achievements
Rank 1
DavidT asked on 09 Jul 2009, 07:06 PM
Hi,

In C# .Net 3.5, I have a DataSet that I would like to Bind to a horizontal Telerik Reporting Bar Chart.

The DataSet data essentially contains 2 column fields, NameOfGroup and NumberOfHits.

So for example, a name of a group could be "The Beatles" and the number of hits could be 43.

Another row in the DataSet could be "Led Zeplin" and the number of hits could be 22.

As my DataSet data comes from a Store Procedure which does a SUM of "Hits" and groups by group name I will be adding more groups and new hits to the database.

How do I build a Reporting Chart that will automatically represent dynamically the number of horizontal bars to the number of Groups I have in my DataSet.  My Hits column will be the length of the bars.

Any online examples would be most appreciated.

Thanks

David

1 Answer, 1 is accepted

Sort by
0
Chavdar
Telerik team
answered on 15 Jul 2009, 08:37 AM
Hello DavidT,

You will find all the necessary information in the following documentation topic for the chart report item: Building Charts. Let us know if you are experiencing any particular problems.

Regards,
Chavdar
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
General Discussions
Asked by
DavidT
Top achievements
Rank 1
Answers by
Chavdar
Telerik team
Share this question
or