Method Summary |
|
public void | addChartRenderer(AbstractChartRenderer renderer, int z) Adds a ChartRenderer with a specific z-coordinate. |
public Rectangle | getBounds() Returns the Bounds for the ChartPanel. |
public ChartDataModel | getChartDataModel() Returns the ChartDataModel. |
public Map | getChartRenderer() Returns the Map of all ChartRenderers. |
public AbstractChartRenderer | getChartRenderer(int z) Returns the ChartRenderer with a specific z-coordinate.
Parameters: z - the z-coordinate of the desired ChartRenderer. |
public CoordSystem | getCoordSystem() Returns the coordinate system.
the Coordinate System for the Chart. |
public Legend | getLegend() Returns this chart's legend.
the Legend for this Chart. |
public Dimension | getPreferredSize() Computes the preferred size of the ChartPanel. |
public Title | getTitle() Returns the title for this chart.
this Chart's Title. |
public void | paint(Graphics graphics) Paints the ChartPanel. |
public void | render(Graphics2D g) Does the layout of the title, legend and coordinate system and
calls the render method of all those including the ChartRenderers. |
public void | setBounds(Rectangle r) Sets the Bounds for this Chart. |
public void | setChartDataModel(ChartDataModel model) Stores the ChartDataModel for this Chart. |
public void | setChartRenderer(Map renderer) Sets the Map with all ChartRenderers. |
public void | setCoordSystem(CoordSystem c) Sets the coordinate system for this chart,
which can be null if the ChartRenderer
doesn't need a coordinate system, e.g. |
public void | setLegend(Legend l) Sets the legend for this chart. |
public void | setTitle(Title t) Sets the title for this chart. |