org.pentaho.platform.uifoundation.chart
Class BubbleRenderer

java.lang.Object
  extended by XYBubbleRenderer
      extended by org.pentaho.platform.uifoundation.chart.BubbleRenderer

public class BubbleRenderer
extends XYBubbleRenderer

Author:
klosei

Constructor Summary
BubbleRenderer()
           
 
Method Summary
 void drawItem(Graphics2D g2, XYItemRendererState state, Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass)
          Draws the visual representation of a single data item.
 double getMaxSize()
           
 double getMaxZ()
           
 void setMaxSize(double size)
           
 void setMaxZ(double maxZ)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BubbleRenderer

public BubbleRenderer()
Method Detail

drawItem

public void drawItem(Graphics2D g2,
                     XYItemRendererState state,
                     Rectangle2D dataArea,
                     PlotRenderingInfo info,
                     XYPlot plot,
                     ValueAxis domainAxis,
                     ValueAxis rangeAxis,
                     XYDataset dataset,
                     int series,
                     int item,
                     CrosshairState crosshairState,
                     int pass)
Draws the visual representation of a single data item.

Parameters:
g2 - the graphics device.
state - the renderer state.
dataArea - the area within which the data is being drawn.
info - collects information about the drawing.
plot - the plot (can be used to obtain standard color information etc).
domainAxis - the domain (horizontal) axis.
rangeAxis - the range (vertical) axis.
dataset - the dataset (an XYZDataset is expected).
series - the series index (zero-based).
item - the item index (zero-based).
crosshairState - crosshair information for the plot (null permitted).
pass - the pass index.

getMaxZ

public double getMaxZ()
Returns:

setMaxZ

public void setMaxZ(double maxZ)
Parameters:
maxZ -

getMaxSize

public double getMaxSize()
Returns:

setMaxSize

public void setMaxSize(double size)
Parameters:
size -