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

java.lang.Object com.artfulbits.aiCharts.Base.ChartType com.artfulbits.aiCharts.Types.ChartLineType com.artfulbits.aiCharts.Types.ChartPolarType

Declaration: public class ChartPolarType extends ChartLineType

 

Represents Polar chart type. A polar chart displays a series as a set of points that are grouped by category on a 360-degree circle. Values are represented by the length of the point as measured from the center of the circle. The further the point is from the center, the greater its value.
 // Creating series.
 ChartSeries series = new ChartSeries("Series 1", ChartTypes.Polar);
 // Filling series with 10 data points.
 for(int i = 0; i < 10; i++)
 {
 	series.getPoints().addXY(i, Math.cos(i));
 }
 
* Similar output should be expected:

Polar type uses YValue type to determine index of corresponding Y value among chart point's Y values.

 

Since: 1.0

 

 

Nested Members Summary

 

Nested members inherited from class: com.artfulbits.aiCharts.Types.ChartLineType
ChartLineType.BreakMode

 

 

Fields Summary

 

Fields inherited from class: com.artfulbits.aiCharts.Types.ChartLineType
BREAK_DELTA, BREAK_MODE, BREAK_POINT, HIT_RADIUS

 

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

 

 

Constructors Summary
ChartPolarType()
    
Sole constructor.

 

 

Methods Summary
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.

 

Methods inherited from class: com.artfulbits.aiCharts.Types.ChartLineType
draw

 

Methods inherited from class: com.artfulbits.aiCharts.Base.ChartType
colorPerPoint, computeXRange, computeYRange, drawMarkers, getRequiredUsages, 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

 

 

 

 

ChartPolarType

 

public ChartPolarType( )

 

Sole constructor. (For invocation by subclass constructors, typically implicit.)

 

Since: 1.0

 

 

 

 

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()

 

 

 

getName

 

public java.lang.String getName( )

 

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

 

Returns:
instance of

 

Overrides: ChartLineType.getName()

 

 

© 2005 - 2010 ArtfulBits. All rights reserved.