package org.knowm.xchart.internal.chartpart;

import java.awt.geom.Rectangle2D;
import org.knowm.xchart.internal.series.Series;
import org.knowm.xchart.style.Styler;

/**
 * @author timmolter
 */
public abstract class PlotSurface_ implements ChartPart {

  final Chart chart;

  /**
   * Constructor
   *
   * @param chart
   */
  PlotSurface_(Chart chart) {

    this.chart = chart;
  }

  @Override
  public Rectangle2D getBounds() {

    return chart.getPlot().getBounds();
  }
}

 

Ads help maintain this website.