Group: Forum Members
Last Active: 13 Years Ago
Posts: 2,
Visits: 1
|
My problem is that when i create bar series the footer text for the clustered bars is 0, 1, .. and so on and i want to customize it. Something like when adding a NDataPoint specifing its name with AddDataPoint method on a NBarSeries.
Thank You
|
Group: Forum Members
Last Active: Last Week
Posts: 3,054,
Visits: 4,009
|
Hi Dragut, You have to turn off automatic axis labels and add custom ones - for example: NChart chart = nChartControl1.Charts[0]; NBarSeries bar = (NBarSeries)chart.Series.Add(SeriesType.Bar); bar.Values.Add(10); bar.Values.Add(20);NOrdinalScaleConfigurator scaleX = chart.Axis(StandardAxis.PrimaryX).ScaleConfigurator as NOrdinalScaleConfigurator; scaleX.AutoLabels = false; scaleX.Labels.Add("Custom Label 1"); scaleX.Labels.Add("Custom Label 2");
Best Regards, Nevron Support Team
|
Group: Forum Members
Last Active: 13 Years Ago
Posts: 2,
Visits: 1
|
Thank you!
|