code: public void setTickSpacing(ValueDimension dim, double minorTickSpacing, int multiplicator, boolean repaint) {
  		double tickSpacing = minorTickSpacing;
  		if(onlyIntegerTicks.get(dim)) {
  			tickSpacing = (int) tickSpacing;
  			if (tickSpacing == 0) tickSpacing = 1;
  		}
  		getTickInfo(dim).setTickSpacing(tickSpacing, multiplicator);
  		if(repaint){
  			revalidate();
  			repaint();
  		}
  	}
docs: Sets the tick spacing for the coordinate axis of the given dimension.<br>
  <value>minorTickSpacing</value> sets the minor tick spacing,
  major tick spacing is a multiple of minor tick spacing and determined with the help of <value>multiplicator</value>
  @param dim Reference dimension for calculation
  @param minorTickSpacing Minor tick spacing
  @param multiplicator Multiplicator for detrermining the major tick spacing.