public class

ChartRoseType

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

Class Overview

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:

Summary

[Expand]
Inherited Fields
From class com.artfulbits.aiCharts.Base.ChartType
Public Constructors
ChartRoseType()
Public Methods
void draw(ChartRenderArgs args)
Draws this chart type on surface specified along.
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.
[Expand]
Inherited Methods
From class com.artfulbits.aiCharts.Base.ChartType
From class java.lang.Object

Public Constructors

public ChartRoseType ()

Public Methods

public void draw (ChartRenderArgs args)

Draws this chart type on surface specified along.

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

public CoordinateSystem getRequiredCoordinateSystem ()

Gets value indicating coordinate system that this chart type requires to be shown.

Returns

public boolean isOriginDependent ()

Indicates whether this type depends on axis origin value.

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

public boolean isSideBySide ()

Indicated whether this chart type is placed side by side.

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