org.jCharts.axisChart
public class ScatterPlotAxisChart extends AxisChart implements HTMLChartTestable
axisProperties, xAxis, yAxis
Constructor and Description |
---|
ScatterPlotAxisChart(IScatterPlotDataSeries iScatterPlotDataSeries,
ChartProperties chartProperties,
AxisProperties axisProperties,
LegendProperties legendProperties,
int pixelWidth,
int pixelHeight)
Constructor
|
Modifier and Type | Method and Description |
---|---|
AxisChartDataProcessor |
createAxisChartDataProcessor()
ScatterPlots create a subclass of AxisChartDataProcessor so we need this method so we can
overload it.
|
protected void |
deriveAxisValues() |
protected void |
overlayCharts()
Draws the charts over the axis.
|
protected void |
setupAxis(AxisChartDataProcessor axisChartDataProcessor,
FontRenderContext fontRenderContext) |
protected NumericTagGroup |
setupDataAxisProperties(Axis axis,
DataAxisProperties dataAxisProperties,
AxisChartDataProcessor axisChartDataProcessor,
FontRenderContext fontRenderContext)
Once we determine which axis is the data axis, the logic to set it up is the same whether it
is a horizontal or vertical plot.
|
void |
toHTML(HTMLGenerator htmlGenerator,
String imageFileName,
ImageMap imageMap)
Enables the testing routines to display the contents of this Object.
|
getAxisProperties, getIAxisDataSeries, getXAxis, getYAxis, renderChart
getBufferedImage, getChartProperties, getGenerateImageMapFlag, getGraphics2D, getImageHeight, getImageMap, getImageWidth, getLegend, hasLegend, render, renderChartTitle, renderWithImageMap, setGraphics2D, setImageMap
public ScatterPlotAxisChart(IScatterPlotDataSeries iScatterPlotDataSeries, ChartProperties chartProperties, AxisProperties axisProperties, LegendProperties legendProperties, int pixelWidth, int pixelHeight)
iScatterPlotDataSeries
- chartProperties
- axisProperties
- legendProperties
- if no legend is desired, pass NULLpixelWidth
- pixelHeight
- public AxisChartDataProcessor createAxisChartDataProcessor()
createAxisChartDataProcessor
in class AxisChart
protected NumericTagGroup setupDataAxisProperties(Axis axis, DataAxisProperties dataAxisProperties, AxisChartDataProcessor axisChartDataProcessor, FontRenderContext fontRenderContext)
setupDataAxisProperties
in class AxisChart
dataAxisProperties
- axisChartDataProcessor
- fontRenderContext
- protected void setupAxis(AxisChartDataProcessor axisChartDataProcessor, FontRenderContext fontRenderContext)
protected void deriveAxisValues()
deriveAxisValues
in class AxisChart
protected void overlayCharts() throws PropertyException
overlayCharts
in class AxisChart
PropertyException
public void toHTML(HTMLGenerator htmlGenerator, String imageFileName, ImageMap imageMap)
toHTML
in interface HTMLChartTestable
toHTML
in class AxisChart
htmlGenerator
- imageFileName
- imageMap
- if this is NULL we are not creating image map data in html