Nevron Forum

How to create Cluster Bar Chart using DataReader

https://www.nevron.com/Forum/Topic5174.aspx

By Christie Cooley 1 - Friday, June 3, 2011

Hi,

I have been trying to bind DataReader with Bar chart. I have successfully created a chart with one series. But not able to create a Cluster Bar Chart using imported data from DataReader(the DataReader contains multiple columns). Does anybody have a sample example for me??

Thanks.
By Nevron Support - Friday, June 3, 2011

Hi Christie,

In order to create a cluster bar you'll need two or more instances of bar series. This means that you cannot directly use the automatic data import from a single sql table / view as there must be some logic that groups the bars into clusters. Can you post the table schema as well as some sample data on what you actually want to chart? - this will be helpful to provide a code snippet showing how to achieve this.

By Christie Cooley 1 - Saturday, June 4, 2011

Thank you Nevron Tech Support team for the reply. But I have successfully created a Cluster Bar Chart with 2 series.

Thanks.