var datas = dtcombo; ColumnSeries col = new ColumnSeries() { DataLabels = true, Values = new ChartValues<int>(), LabelPoint = Point => Point.Y.ToString() }; Axis ax = new Axis() { Separator = new Separator() { Step = 1, IsEnabled = false } }; ax.Labels = new List<string>(); foreach (var x in datas) { col.Values.Add(x.total.value); ax.Labels.Add(x.year.ToString()); }
foreach (var x in datas.Rows)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)