Note this is a chart with PredefnedChartStyle.HorizontalLeft
Only every other label is displayed, no matter how large the plot is (and there's plenty of room anyway)
Extract of the code setting the labels is:
// Turn ticks off
NLength tickLength = scaleConfiguratorX.OuterMajorTickStyle.Length;
scaleConfiguratorX.OuterMajorTickStyle.Length = new NLength(0);
scaleConfiguratorX.InnerMajorTickStyle.Length = new NLength(0);
scaleConfiguratorX.LabelLevelTopPadding = tickLength;
// Set the labels
scaleConfiguratorX.AutoLabels = false;
scaleConfiguratorX.LabelStyle.VisibilityMode = ScaleLabelVisibilityMode.CenterInRuler;
scaleConfiguratorX.Labels.AddRange(xAxisLabels); (Number of labels = number of y values)
scaleConfiguratorX.MajorTickMode = MajorTickMode.AutoMaxCount;
scaleConfiguratorX.MaxTickCount = xAxisLabels.Length;
I have checked in Debug that all values are set as expected. What am I missing here?
Thanks
Kevin