Hi Hamza,
1. Regarding the bars – you have to manually create three Bar series and fill each one from the respective DataTable column. The easiest way to import data into a single data series is using the FillFromDataTable method, for example:
NBarSeries barSeries0 = new NBarSeries();
barSeries0.Values.FillFromDataTable(dataTable, “ReconciledDepreciation”);
The attached example does this in a loop for the three series.
2. Regarding the axis labels – you need to import the category names and feed them to the axis via code – for example:
NOrdinalScaleConfigurator scaleX = (NOrdinalScaleConfigurator)chart.Axis(StandardAxis.PrimaryX).ScaleConfigurator;
scaleX.AutoLabels = false;
for (int i = 0; i < dt.Rows.Count; i++)
{
scaleX.CustomLabels.Add(new NCustomValueLabel(i, dt.Rows[i][0].ToString()));
}
Hopefully this helps – let us know if you meet any problems or have any questions.
Best Regards,
Nevron Support Team