Esempio n. 1
0
 /**
  * Sets the properties of the specified axis to match the properties defined on this panel.
  *
  * @param axis the axis.
  */
 public void setAxisProperties(Axis axis) {
   super.setAxisProperties(axis);
   ValueAxis valueAxis = (ValueAxis) axis;
   valueAxis.setAutoRange(this.autoRange);
   if (!this.autoRange) {
     valueAxis.setRange(this.minimumValue, this.maximumValue);
   }
   valueAxis.setAutoTickUnitSelection(this.autoTickUnitSelection);
 }