Package com.positive.charts.plot

Examples of com.positive.charts.plot.PlotRenderingInfo


   * @param entities
   *            an entity collection (<code>null</code> permitted).
   */
  public ChartRenderingInfo(final EntityCollection entities) {
    this.chartArea = new Rectangle(0, 0, 0, 0);
    this.plotInfo = new PlotRenderingInfo(this);
    this.entities = entities;
  }
View Full Code Here


  /**
   * Clears the information recorded by this object.
   */
  public void clear() {
    this.chartArea.x = this.chartArea.y = this.chartArea.width = this.chartArea.height = 0;
    this.plotInfo = new PlotRenderingInfo(this);
    if (this.entities != null) {
      this.entities.clear();
    }
  }
View Full Code Here

  /**
   * Draw the plot (axes and data visualization).
   */
  private void drawPlot(final GC gc, final Rectangle plotArea,
      final Point anchor, final ChartRenderingInfo info) {
    PlotRenderingInfo plotInfo = null;
    if (info != null) {
      plotInfo = info.getPlotInfo();
    }
    this.plot.draw(gc, plotArea, anchor, null, plotInfo);
  }
View Full Code Here

TOP

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

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.