Hi Bargitta,
You can actually achieve both outlooks - the following code snippets show how to have automatically rotated labels and automatically wrapped labels (we recommend the second option as horizontal texts are easier to read):
NCartesianChart chart = (NCartesianChart)nChartControl1.Charts[0];
NBarSeries bar = new NBarSeries();
bar.Values.Add(10);
bar.Values.Add(20);
bar.Values.Add(30);
chart.Series.Add(bar);
NOrdinalScaleConfigurator scaleX = chart.Axis(StandardAxis.PrimaryX).ScaleConfigurator as NOrdinalScaleConfigurator;
scaleX.AutoLabels = false;
scaleX.Labels.Add("Tabular Design and Analysis");
scaleX.Labels.Add("Well Path Design");
scaleX.Labels.Add("Drilling Engeneering");
// option 1 - use value labels and rotate 30 or 45
scaleX.LabelStyle.ContentAlignment = ContentAlignment.TopCenter;
scaleX.LabelFitModes = new LabelFitMode[] { LabelFitMode.Rotate30, LabelFitMode.AutoScale };
scaleX.LabelStyle.Angle = new NScaleLabelAngle(ScaleLabelAngleMode.Scale, 0, false);
// option 2 (recommended) - use value labels and rotate 30 or 45
NRangeScaleLabelStyle rangeScaleLabelStyle = new NRangeScaleLabelStyle();
rangeScaleLabelStyle.TickMode = RangeLabelTickMode.None;
rangeScaleLabelStyle.WrapText = true;
scaleX.LabelStyle = rangeScaleLabelStyle;
Hope this helps - let us know if you meet any problems.
Best Regards,
Nevron Support Team