Hi Shubham,
We have analyzed this. You can easily add multiple chart series in Same chart. We have prepared following four series in the same chart. Find the following code snippet to achieve this.
Code Snippet[WF]:
· We have Created four series as below.
//Create multible chart as follows
ChartSeries series0 = new ChartSeries();
ChartSeries series1 = new ChartSeries();
ChartSeries series2 = new ChartSeries();
ChartSeries series3=new ChartSeries();
· Adding data to the series as below.
//Add the data for the series as follows
for (int i = 0; i < 4; i++)
{
for (int j = 0; j < 10; j++)
{
if(i==0)
series0.Points.Add(j, yValue.Next(0,10));
if(i==1)
series1.Points.Add(j, yValue.Next(15,30));
if(i==2)
series2.Points.Add(j, yValue.Next(30,50));
if(i==3)
series3.Points.Add(j, yValue.Next(60,70));
}
}
· Add the series type as below
//Add the series types as follows
series0.Type = ChartSeriesType.Line;
series1.Type = ChartSeriesType.Column;
series2.Type = ChartSeriesType.Scatter;
series3.Type = ChartSeriesType.Bubble;
Limitations:
· HiloOpen charts, Bar charts , Pie Charts cannot combin with other charts.
We have made a sample for this. Find the below link for downloading the sample.
Sample link:
Screen Shot of the attached sample;
Please let us know if you have any concern.
Thanks,
Vinothkumar Arumugam.