com.odesys.chart.image
Class BubbleChartImage

java.lang.Object
  |
  +--com.odesys.chart.image.ChartImage
        |
        +--com.odesys.chart.image.BubbleChartImage

public class BubbleChartImage
extends ChartImage

BubbleChartImage creates a Bubble Chart image in JPEG format and writes its data into an OutputStream.


Constructor Summary
BubbleChartImage()
          Creates new BubbleChartImage instance
 
Method Summary
protected  Chart createChart()
          Factory method that creates the Chart instance for this BubbleChartImage.
 Axis getAxisX()
          Gets the X axis.
 Axis getAxisY()
          Gets the Y axis.
 void setAxisXPosition(int pos)
          Sets the position of the X axis.
 void setAxisYPosition(int pos)
          Sets the position of the Y axis.
 void setDrawHorzLines(boolean draw)
          Determines whether the horizontal coordinate lines should be drawn.
 void setDrawVertLines(boolean draw)
          Determines whether the vertical coordinate lines should be drawn.
 
Methods inherited from class com.odesys.chart.image.ChartImage
getChart, getModel, setBackground, setChartBackground, setChartContoursVisible, setChartFont, setChartForeground, setFont, setLabelsVisible, setLegendBackground, setLegendContoursVisible, setLegendFont, setLegendForeground, setLegendVisible, setModel, setQuality, setSize, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BubbleChartImage

public BubbleChartImage()
Creates new BubbleChartImage instance
Method Detail

createChart

protected Chart createChart()
Factory method that creates the Chart instance for this BubbleChartImage.
Overrides:
createChart in class ChartImage
Returns:
A new BubbleChart instance.

getAxisX

public Axis getAxisX()
Gets the X axis.
Returns:
The X axis.

getAxisY

public Axis getAxisY()
Gets the Y axis.
Returns:
The Y axis.

setAxisXPosition

public void setAxisXPosition(int pos)
Sets the position of the X axis. The allowed values are Grid.TOP and Grid.BOTTOM.
Parameters:
pos - The position of X axis.

setAxisYPosition

public void setAxisYPosition(int pos)
Sets the position of the Y axis. The allowed values are Grid.LEFT and Grid.RIGHT.
Parameters:
pos - The position of Y axis.

setDrawHorzLines

public void setDrawHorzLines(boolean draw)
Determines whether the horizontal coordinate lines should be drawn.

setDrawVertLines

public void setDrawVertLines(boolean draw)
Determines whether the vertical coordinate lines should be drawn.