예제 #1
0
 /**
  * Sets vertical axis grid and labels. Makes vertical grid lines appear
  * at gridStep interval. Every labelFactor*gridStep, a major grid line is printed,
  * along with label showing the value of the grid line.
  *
  * @param gridStep    Minor grid step
  * @param labelFactor Specifies how many minor minor grid steps will appear between labels
  *                    (major grid lines)
  */
 public void setValueAxis(double gridStep, int labelFactor)
 {
     valueAxisSetting = new ValueAxisSetting(gridStep, labelFactor);
 }
예제 #2
0
 /**
  * Sets vertical axis grid and labels. Makes vertical grid lines appear
  * at gridStep interval. Every labelFactor*gridStep, a major grid line is printed,
  * along with label showing the value of the grid line.
  *
  * @param gridStep    Minor grid step
  * @param labelFactor Specifies how many minor minor grid steps will appear between labels
  *                    (major grid lines)
  */
 public void setValueAxis(double gridStep, int labelFactor)
 {
    valueAxisSetting = new ValueAxisSetting(gridStep, labelFactor);
 }