Hi Luis,
You can solve this problem by creating a custom value formatter - for example:
class CustomValueFormatter : NValueFormatter
{
public override string FormatValue(double value)
{
return value.ToString("#,###,##0.###########").Replace(",", " ");
}
public override string FormatValue(object value)
{
return FormatValue((double)value);
}
}
private void Form1_Load(object sender, EventArgs e)
{
NChart chart = nChartControl1.Charts[0];
NLinearScaleConfigurator scale = chart.Axis(StandardAxis.PrimaryY).ScaleConfigurator as NLinearScaleConfigurator;
scale.LabelValueFormatter = new CustomValueFormatter();
NBarSeries bar = new NBarSeries();
bar.DataLabelStyle.Visible = false;
DateTime now = DateTime.Now;
for (int i = 0; i < 100; i++)
{
bar.Values.Add(i * i);
}
chart.Series.Add(bar);
}
Let us know if you meet any problems.
Best Regards,
Nevron Support Team