You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
x axis i have defined for time intervals.I need to specify a interval line only when 5th values from y axis is drawn.I have tried with setLabelstoSkip(),.With this method it draws line for the first value of y and then keeps on plotting the interval lines.How to avoid it?
The text was updated successfully, but these errors were encountered:
I am not quite clear about what is interval line here? Grid line or else? setLabelstoSkip has some description: Sets the number of labels that should be skipped on the axis before the next label is drawn. This will disable the feature that automatically calculates an adequate space between the axis labels and set the number of labels to be skipped to the fixed number provided by this method. Call resetLabelsToSkip(...) to re-enable automatic calculation.
So seems resetLabelsToSkip is not what you want. Maybe just change drawLabels loop in ChartXAxisRenderer started at 5 is enough? Though you should think about zooming and scrolling as well.
x axis i have defined for time intervals.I need to specify a interval line only when 5th values from y axis is drawn.I have tried with setLabelstoSkip(),.With this method it draws line for the first value of y and then keeps on plotting the interval lines.How to avoid it?
The text was updated successfully, but these errors were encountered: