Examples of AxisChangeEvent


Examples of com.positive.charts.event.AxisChangeEvent

      final String tooltip) {
    if (category == null) {
      throw new IllegalArgumentException("Null 'category' argument.");
    }
    this.categoryLabelToolTips.put(category, tooltip);
    this.notifyListeners(new AxisChangeEvent(this));
  }
View Full Code Here

Examples of com.positive.charts.event.AxisChangeEvent

   * Clears the category label tooltips and sends an {@link AxisChangeEvent}
   * to all registered listeners.
   */
  public void clearCategoryLabelToolTips() {
    this.categoryLabelToolTips.clear();
    this.notifyListeners(new AxisChangeEvent(this));
  }
View Full Code Here

Examples of com.positive.charts.event.AxisChangeEvent

  public void removeCategoryLabelToolTip(final Comparable category) {
    if (category == null) {
      throw new IllegalArgumentException("Null 'category' argument.");
    }
    this.categoryLabelToolTips.remove(category);
    this.notifyListeners(new AxisChangeEvent(this));
  }
View Full Code Here

Examples of com.positive.charts.event.AxisChangeEvent

   * @param offset
   *            the offset (in Java2D units).
   */
  public void setCategoryLabelPositionOffset(final int offset) {
    this.categoryLabelPositionOffset = offset;
    this.notifyListeners(new AxisChangeEvent(this));
  }
View Full Code Here

Examples of com.positive.charts.event.AxisChangeEvent

  public void setCategoryLabelPositions(final CategoryLabelPositions positions) {
    if (positions == null) {
      throw new IllegalArgumentException("Null 'positions' argument.");
    }
    this.categoryLabelPositions = positions;
    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 setCategoryMargin(final double margin) {
    this.categoryMargin = margin;
    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 setLowerMargin(final double margin) {
    this.lowerMargin = margin;
    this.notifyListeners(new AxisChangeEvent(this));
  }
View Full Code Here

Examples of com.positive.charts.event.AxisChangeEvent

   * @param lines
   *            the maximum number of lines.
   */
  public void setMaximumCategoryLabelLines(final int lines) {
    this.maximumCategoryLabelLines = lines;
    this.notifyListeners(new AxisChangeEvent(this));
  }
View Full Code Here

Examples of com.positive.charts.event.AxisChangeEvent

   * @param ratio
   *            the ratio.
   */
  public void setMaximumCategoryLabelWidthRatio(final float ratio) {
    this.maximumCategoryLabelWidthRatio = ratio;
    this.notifyListeners(new AxisChangeEvent(this));
  }
View Full Code Here

Examples of com.positive.charts.event.AxisChangeEvent

    if (font == null) {
      this.tickLabelFontMap.remove(category);
    } else {
      this.tickLabelFontMap.put(category, font);
    }
    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.