Hi Guy,
I have a problem with the next chart inside my report.
I have the following data
I want two bars, one for Company A at X-axis value 2009 and Y value: 10, second is Company B with X-axis value 2009 and Y value 10.
The current situation is that I get two bars, for company A, one company B with both value: 5
How can I add up these values?
this.chart1.DataGroupColumn = "Name";
this.chart1.DataSource = this.sqlDataSource1;
this.chart1.PlotArea.XAxis.AutoScale = false;
this.chart1.PlotArea.XAxis.DataLabelsColumn = "Year";
Thank you,
Robert
I have a problem with the next chart inside my report.
I have the following data
Name | Year | Amount |
Company A | 2009 | 5 |
Company A | 2009 | 5 |
Company B | 2009 | 5 |
Company B | 2009 | 5 |
I want two bars, one for Company A at X-axis value 2009 and Y value: 10, second is Company B with X-axis value 2009 and Y value 10.
The current situation is that I get two bars, for company A, one company B with both value: 5
How can I add up these values?
this.chart1.DataGroupColumn = "Name";
this.chart1.DataSource = this.sqlDataSource1;
this.chart1.PlotArea.XAxis.AutoScale = false;
this.chart1.PlotArea.XAxis.DataLabelsColumn = "Year";
Thank you,
Robert