| de.progra.charting.AbstractChart de.progra.charting.DefaultChart
DefaultChart | public class DefaultChart extends AbstractChart (Code) | | The Default class to create a chart.
author: mueller version: 1.0 |
Method Summary | |
public Dimension | getPreferredSize() | 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. |
LINEAR_X_LINEAR_Y | public static int LINEAR_X_LINEAR_Y(Code) | | |
NO_COORDINATE_SYSTEM | public static int NO_COORDINATE_SYSTEM(Code) | | |
DefaultChart | protected DefaultChart()(Code) | | Creates new empty DefaultChart.
|
DefaultChart | public DefaultChart(ChartDataModel model, String title)(Code) | | Creates a new DefaultChart with the given model
and title string and no coordinate system.
Parameters: model - the ChartDataModel Parameters: title - the title String |
DefaultChart | public DefaultChart(ChartDataModel model, String title, int coord)(Code) | | Creates a new DefaultChart 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 |
DefaultChart | public DefaultChart(ChartDataModel model, String title, int coord, String xaxis, String yaxis)(Code) | | Creates a new DefaultChart 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 Parameters: xaxis - the x-axis' unit Parameters: yaxis - the y-axis' unit |
getPreferredSize | public Dimension getPreferredSize()(Code) | | Should compute the preferred size of the Chart
null |
render | public void render(Graphics2D g)(Code) | | 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. |
|
|