Group: Forum Members
Last Active: 12 Years Ago
Posts: 5,
Visits: 1
|
Hi there,
I have spend enough hours trying to figure out the following and I would appreciate some help:
I have a NStandardScaleConfigurator scaleY as below: NStandardScaleConfigurator scaleY = this._chart.Axis(StandardAxis.PrimaryY).ScaleConfigurator as NStandardScaleConfigurator; scaleY.AutoLabels = false; scaleY.CustomLabels.Add(new NCustomValueLabel(1, "Very poor")); scaleY.CustomLabels.Add(new NCustomValueLabel(2, "Poor")); scaleY.CustomLabels.Add(new NCustomValueLabel(3, "Satisfactory")); scaleY.CustomLabels.Add(new NCustomValueLabel(4, "Good")); scaleY.CustomLabels.Add(new NCustomValueLabel(5, "Very good"));
and my scale X is as below: NOrdinalScaleConfigurator scaleX = this._chart.Axis(StandardAxis.PrimaryX).ScaleConfigurator as NOrdinalScaleConfigurator; scaleX.AutoLabels = false;
My data are displayed correctly, but when for example the x data have a maximum value of 4, then the 5th Y axis label is not displayed. That is a problem, since I want the user to be able to see all the possible values.
Is there a way to display all the custom y axis labels all the time no matter the x data values?
Thanks Marina
|