Hi Kevin,
We tested with the following code and were not able to replicate the problem:
NChart chart = nChartControl1.Charts[0];
chart.SetPredefinedChartStyle(PredefinedChartStyle.HorizontalRight);
chart.DisplayOnLegend = null;
{
NBarSeries nevronSeries = new NBarSeries();
nevronSeries.Values.Add(10);
nevronSeries.Values.Add(20);
chart.Series.Add(nevronSeries);
nevronSeries.DataLabelStyle.VertAlign = Nevron.VertAlign.Center;
nevronSeries.DataLabelStyle.ArrowLength = new NLength(0);
nevronSeries.DataLabelStyle.ArrowStrokeStyle = new NStrokeStyle(0);
nevronSeries.DataLabelStyle.ArrowPointerLength = new NLength(0);
}
{
NBarSeries nevronSeries = new NBarSeries();
nevronSeries.MultiBarMode = MultiBarMode.Clustered;
nevronSeries.Values.Add(10);
nevronSeries.Values.Add(20);
chart.Series.Add(nevronSeries);
nevronSeries.DataLabelStyle.VertAlign = Nevron.VertAlign.Center;
nevronSeries.DataLabelStyle.ArrowLength = new NLength(0);
nevronSeries.DataLabelStyle.ArrowStrokeStyle = new NStrokeStyle(0);
nevronSeries.DataLabelStyle.ArrowPointerLength = new NLength(0);
}
Most likely you touch the TextStyle associated with the data labels somewhere. You can try the following:
nevronSeries.DataLabelStyle.TextStyle.StringFormatStyle.HorzAlign = Nevron.HorzAlign.Center;
nevronSeries.DataLabelStyle.TextStyle.StringFormatStyle.VertAlign = Nevron.VertAlign.Center;
Hope this helps - let us know if you meet any problems.
Best Regards,
Nevron Support Team