How do I set number of Labels to be displayed for an Axis. For example I want to show always six meaningful labels for an Axis irrespective of amount of data it represents. Even If I zoomed into any interval, the numer of labels should be fixed on that Axis.
Can anyone suggets me, how should I get this feature?
This can only be done for numeric or time axes.
ultraChart1.Axis.Y.TickmarkStyle = AxisTickStyle.Percentage;ultraChart1.Axis.Y.TickmarkPercentage = 100 / 6;
This, however, will not preserve the number of labels when you change the zoom level. You will have to recalculate the tickmark percentage based on the current axis ScrollScale.Scale property value.