Examples of AxisChangeEvent


Examples of com.positive.charts.event.AxisChangeEvent

    if (paint == null) {
      this.tickLabelPaintMap.remove(category);
    } else {
      this.tickLabelPaintMap.put(category, paint);
    }
    this.notifyListeners(new AxisChangeEvent(this));
  }
View Full Code Here

Examples of com.positive.charts.event.AxisChangeEvent

   *            the margin as a percentage of the axis length (for example,
   *            0.05 is five percent).
   */
  public void setUpperMargin(final double margin) {
    this.upperMargin = margin;
    this.notifyListeners(new AxisChangeEvent(this));
  }
View Full Code Here

Examples of com.positive.charts.event.AxisChangeEvent

  public void setSubLabelFont(final Font font) {
    if (font == null) {
      throw new IllegalArgumentException("Null 'font' argument.");
    }
    this.subLabelFont = font;
    this.notifyListeners(new AxisChangeEvent(this));
  }
View Full Code Here

Examples of com.positive.charts.event.AxisChangeEvent

    if (paint == null) {
      throw new IllegalArgumentException("Null 'paint' argument.");
    }

    this.getPlot().getDrawingAssets().setColor(Plot.COLOR_SUB_LABEL, paint);
    this.notifyListeners(new AxisChangeEvent(this));
  }
View Full Code Here

Examples of com.positive.charts.event.AxisChangeEvent

   * @param formatter
   *            the date formatter (<code>null</code> permitted).
   */
  public void setDateFormatOverride(final DateFormat formatter) {
    this.dateFormatOverride = formatter;
    this.notifyListeners(new AxisChangeEvent(this));
  }
View Full Code Here

Examples of com.positive.charts.event.AxisChangeEvent

   *            the date (<code>null</code> not permitted).
   */
  public void setMaximumDate(final Date maximumDate) {
    this.setRange(new DateRange(this.getMinimumDate(), maximumDate), true,
        false);
    this.notifyListeners(new AxisChangeEvent(this));
  }
View Full Code Here

Examples of com.positive.charts.event.AxisChangeEvent

   * @param date
   *            the date (<code>null</code> not permitted).
   */
  public void setMinimumDate(final Date date) {
    this.setRange(new DateRange(date, this.getMaximumDate()), true, false);
    this.notifyListeners(new AxisChangeEvent(this));
  }
View Full Code Here

Examples of com.positive.charts.event.AxisChangeEvent

  public void setTickMarkPosition(final DateTick.MarkPosition position) {
    if (position == null) {
      throw new IllegalArgumentException("Null 'position' argument.");
    }
    this.tickMarkPosition = position;
    this.notifyListeners(new AxisChangeEvent(this));
  }
View Full Code Here

Examples of com.positive.charts.event.AxisChangeEvent

    this.tickUnit = unit;
    if (turnOffAutoSelection) {
      this.setAutoTickUnitSelection(false, false);
    }
    if (notify) {
      this.notifyListeners(new AxisChangeEvent(this));
    }

  }
View Full Code Here

Examples of com.positive.charts.event.AxisChangeEvent

   *            the timeline.
   */
  public void setTimeline(final Timeline timeline) {
    if (this.timeline != timeline) {
      this.timeline = timeline;
      this.notifyListeners(new AxisChangeEvent(this));
    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.