This Panel provides the possibility to include a Chart into a Swing
Application. I choose not to make every Chart extend JComponent because
of the overhead this would have meant. Instead, this class is an adaptor.
It implements the Chart interface and contains a DefaultChart instance
to which all Chart calls are promoted.
author: mueller
Creates a new ChartPanel with the given model
and title string and a coordinate system.
Parameters: model - the ChartDataModel Parameters: title - the title String Parameters: coord - the id of the coordinate system configuration
Returns the ChartRenderer with a specific z-coordinate.
Parameters: z - the z-coordinate of the desired ChartRenderer. the ChartRenderer or null if none has been found.
Does the layout of the title, legend and coordinate system and
calls the render method of all those including the ChartRenderers.
Parameters: g - the Graphics2D object to paint in.Just calls paint(Graphics).
Sets the coordinate system for this chart,
which can be null if the ChartRenderer
doesn't need a coordinate system, e.g. if it's a
PieChart.
Parameters: c - The Coordinate System for the Chart.