Hi Alexander,
Thank You for the update.
You can display the column charts as in image sent by you by creating series with multiple Y-Values and setting the ColumnWidthMode of ChartControl to FixedWidthMode as shown in the code snippet below,
ChartSeries series = this.chartControl1.Model.NewSeries("Products");
for(int i=0;i
{
double x=Convert.ToDouble(dataSet.Tables[0].Rows[i]["ID"].ToString());
double y=Convert.ToDouble(dataSet.Tables[0].Rows[i]["ID"].ToString());
series.Points.Add(x,new double[]{y,10});
}
//Adds the series to the ChartSeriesCollection.
this.chartControl1.Series.Add(series);
ChartSeries series1 = this.chartControl1.Model.NewSeries("Products");
for(int i=0;i {
double x=Convert.ToDouble(dataSet.Tables[0].Rows[i]["ID"].ToString());
double y=Convert.ToDouble(dataSet.Tables[0].Rows[i]["Population"].ToString());
series1.Points.Add(x,new double[]{y,12});
}
//Adds the series to the ChartSeriesCollection.
this.chartControl1.Series.Add(series1);
series1.Style.Interior=new Syncfusion.Drawing.BrushInfo(Syncfusion.Drawing.GradientStyle.ForwardDiagonal,Color.Orange,Color.White);
this.chartControl1.PrimaryXAxis.AutoValueType = true;
this.chartControl1.ColumnWidthMode=ChartColumnWidthMode.FixedWidthMode;
Also kindly take a look at the attached sample.
Let me know whether this helps you.
Thanks & Regards,
Ramya.
ChartBinding0.zip