setLabelCount1 method

void setLabelCount1(
  1. int count
)

Sets the number of label entries for the y-axis max = 25, min = 2, default: 6, be aware that this number is not fixed.

@param count the number of y-axis labels that should be displayed

Implementation

void setLabelCount1(int count) {
  if (count > 25) count = 25;
  if (count < 2) count = 2;
  _labelCount = count;
  _forceLabels = false;
}