Package com.positive.charts.plot

Examples of com.positive.charts.plot.Plot


    ValueAxis result = null;
    if (index < this.domainAxes.size()) {
      result = (ValueAxis) this.domainAxes.get(index);
    }
    if (result == null) {
      final Plot parent = this.getParent();
      if (parent instanceof XYPlot) {
        final XYPlot xy = (XYPlot) parent;
        result = xy.getDomainAxis(index);
      }
    }
View Full Code Here


   */
  public int getDomainAxisIndex(final ValueAxis axis) {
    int result = this.domainAxes.indexOf(axis);
    if (result < 0) {
      // try the parent plot
      final Plot parent = this.getParent();
      if (parent instanceof XYPlot) {
        final XYPlot p = (XYPlot) parent;
        result = p.getDomainAxisIndex(axis);
      }
    }
View Full Code Here

    ValueAxis result = null;
    if (index < this.rangeAxes.size()) {
      result = (ValueAxis) this.rangeAxes.get(index);
    }
    if (result == null) {
      final Plot parent = this.getParent();
      if (parent instanceof XYPlot) {
        final XYPlot xy = (XYPlot) parent;
        result = xy.getRangeAxis(index);
      }
    }
View Full Code Here

   */
  public int getRangeAxisIndex(final ValueAxis axis) {
    int result = this.rangeAxes.indexOf(axis);
    if (result < 0) {
      // try the parent plot
      final Plot parent = this.getParent();
      if (parent instanceof XYPlot) {
        final XYPlot p = (XYPlot) parent;
        result = p.getRangeAxisIndex(axis);
      }
    }
View Full Code Here

   *
   * @return The drawing assets
   * @see Plot#getDrawingAssets();
   */
  public DrawingAssets getDrawingAssets() {
    final Plot p = this.getPlot();
    if (p != null) {
      return p.getDrawingAssets();
    }
    return null;
  }
View Full Code Here

   * Returns the drawing supplier from the plot.
   *
   * @return The drawing supplier (possibly <code>null</code>).
   */
  public DrawingSupplier getDrawingSupplier() {
    final Plot p = this.getPlot();
    if (p != null) {
      return p.getDrawingSupplier();
    }
    return null;
  }
View Full Code Here

  /**
   * Rescales the axis to ensure that all data is visible.
   */
  protected void autoAdjustRange() {

    final Plot plot = this.getPlot();

    if (plot == null) {
      return; // no plot, no data
    }

View Full Code Here

  /**
   * Rescales the axis to ensure that all data is visible.
   */
  protected void autoAdjustRange() {
    final Plot plot = this.getPlot();
    if (plot == null) {
      return; // no plot, no data
    }

    if (plot instanceof ValueAxisPlot) {
View Full Code Here

TOP

Related Classes of com.positive.charts.plot.Plot

Copyright © 2018 www.massapicom. 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.