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

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

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

 

Rose chart - circular graph, witch builds by "pie slices" where Y value defines radius of the slice.
 // Creating series.
 ChartSeries series = new ChartSeries("Series 1", ChartTypes.Rose);
 // Filling series with 10 data points.
 for(int i = 0; i < 10; i++)
 {
 	series.getPoints().addXY(i, data[i]);
 }
 
Similar output should be expected:

 

Since: 1.5

 

 

Fields Summary

 

Fields inherited from class: com.artfulbits.aiCharts.Base.ChartType
POINT_WIDTH

 

 

Constructors Summary
ChartRoseType()
    

 

 

Methods Summary
void draw(ChartRenderArgs args)
    
Draws this chart type on surface specified along.
java.lang.String getName()
    
Provides human-readable representation of this chart type.
CoordinateSystem getRequiredCoordinateSystem()
    
Gets value indicating coordinate system that this chart type requires to be shown.
boolean isOriginDependent()
    
Indicates whether this type depends on axis origin value.
boolean isSideBySide()
    
Indicated whether this chart type is placed side by side.

 

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

 

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

 

 

 

 

ChartRoseType

 

public ChartRoseType( )

 

 

 

 

getRequiredCoordinateSystem

 

public CoordinateSystem getRequiredCoordinateSystem( )

 

[ description from ChartType.getRequiredCoordinateSystem() ]
 
Gets value indicating coordinate system that this chart type requires to be shown.

 

Returns:
instance of

 

Overrides: ChartType.getRequiredCoordinateSystem()

 

 

 

isOriginDependent

 

public boolean isOriginDependent( )

 

[ description from ChartType.isOriginDependent() ]
 
Indicates whether this type depends on axis origin value.

 

Returns:
true if chart type consumes value of origin to draw, otherwise false.

 

Overrides: ChartType.isOriginDependent()

 

 

 

isSideBySide

 

public boolean isSideBySide( )

 

[ description from ChartType.isSideBySide() ]
 
Indicated whether this chart type is placed side by side.

 

Returns:
true if chart type is side by side, otherwise false.

 

Overrides: ChartType.isSideBySide()

 

 

 

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)

 

 

 

getName

 

public java.lang.String getName( )

 

[ description from ChartType.getName() ]
 
Provides human-readable representation of this chart type.

 

Returns:
instance of

 

Implements: ChartType.getName()

 

 

© 2005 - 2010 ArtfulBits. All rights reserved.