Summ:  Fields Constr. Methods    Details:  Fields Constr. Methods      Class:  Constants Prev Next
com.artfulbits.aiCharts.Types
Class ChartBubbleType

java.lang.Object com.artfulbits.aiCharts.Base.ChartType com.artfulbits.aiCharts.Types.ChartBubbleType

Declaration: public class ChartBubbleType extends com.artfulbits.aiCharts.Base.ChartType

 

Represents Bubble chart type. A bubble chart draws bubbles for each point in a series. The series expects three values per bubble: the domain (X-axis value) value, range (first y-axis value) value and the optional size value (second y-axis value).
 // Creating series.
 ChartSeries series = new ChartSeries("Series 1", ChartTypes.Bar);
 // Filling series with 10 data points.
 for (int i = 0; i < 10; i++)
 {
 	series.getPoints().addXY(i, Math.cos(i), 10 * Math.cos(i));
 }
 
Bubble type uses USAGE_Y and USAGE_SIZE (optional) types to determine index of corresponding Y value and bubble size among chart point's Y values.

 

Since: 1.0

 

 

Fields Summary
static java.lang.String MAX_RADIUS
    
Identifies the maximum radius of bubble.
static java.lang.String MIN_RADIUS
    
Identifies the minimum radius of bubble.

 

 

Constructors Summary
ChartBubbleType()
    

 

 

Methods Summary
void draw(ChartRenderArgs args)
    
Draws this chart type on surface specified along.

 

Methods inherited from class: com.artfulbits.aiCharts.Base.ChartType
colorPerPoint, computeXRange, computeYRange, drawIcon, drawMarkers, getRequiredCoordinateSystem, getXRange, getYRange, isCompatible, isCompatible, isOriginDependent, isRotated, isSideBySide, isStacked, isStacked100

 

Methods inherited from class: java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

 

 

 

MIN_RADIUS

 

public static final java.lang.String MIN_RADIUS

 

Identifies the minimum radius of bubble. Default value is 10.

 

Since: 1.0
See also: Constants

 

 

 

MAX_RADIUS

 

public static final java.lang.String MAX_RADIUS

 

Identifies the maximum radius of bubble. Default value is 30.

 

Since: 1.0
See also: Constants

 

 

 

 

ChartBubbleType

 

public ChartBubbleType( )

 

 

 

 

draw

 

public void draw( ChartRenderArgs args)

 

[ description from ChartType.draw(ChartRenderArgs) ]
 
Draws this chart type on surface specified along.

 

Parameters:
args-
instance of ChartRenderArgs that provides facilities to draw this type.

 

Implements: ChartType.draw(ChartRenderArgs)

 

 

© 2005 - 2010 ArtfulBits. All rights reserved.