|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jCharts.Chart
org.jCharts.axisChart.AxisChart
org.jCharts.axisChart.ScatterPlotAxisChart
public class ScatterPlotAxisChart
This Class is used to create all axis chart types. This class knows how to render charts based on the ChartType specified in on the iAxisChartDataSet.
Field Summary |
---|
Fields inherited from class org.jCharts.axisChart.AxisChart |
---|
axisProperties, xAxis, yAxis |
Constructor Summary | |
---|---|
ScatterPlotAxisChart(IScatterPlotDataSeries iScatterPlotDataSeries,
ChartProperties chartProperties,
AxisProperties axisProperties,
LegendProperties legendProperties,
int pixelWidth,
int pixelHeight)
Constructor |
Method Summary | |
---|---|
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. |
Methods inherited from class org.jCharts.axisChart.AxisChart |
---|
getAxisProperties, getIAxisDataSeries, getXAxis, getYAxis, renderChart |
Methods inherited from class org.jCharts.Chart |
---|
getBufferedImage, getChartProperties, getGenerateImageMapFlag, getGraphics2D, getImageHeight, getImageMap, getImageWidth, getLegend, hasLegend, render, renderChartTitle, renderWithImageMap, setGraphics2D, setImageMap |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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
- Method Detail |
---|
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)
setupAxis
in class AxisChart
axisChartDataProcessor
- 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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |