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

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

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

 

Step Area Charts are similar to regular area chart except that instead of a straight line tracing the shortest path between points, the values are connected by continuous vertical and horizontal lines forming a step like progression.
 // Creating series.
 ChartSeries series1 = new ChartSeries("Series 1", ChartTypes.StepArea);
 // Filling series with 10 data points.
 for (int i = 0; i < 10; i++)
 {
 	series1.getPoints().addXY(i, Math.cos(i));
 }
 

 

Since: 1.0

 

 

Fields Summary
static java.lang.String INVERSED
    
Identifies whether this type is inversed.

 

 

Constructors Summary
ChartStepAreaType()
    

 

 

Methods Summary
void draw(ChartRenderArgs args)
    
Draws this chart type on surface specified along.
boolean isOriginDependent()
    
Indicates whether this type depends on axis origin value.

 

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

 

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

 

 

 

 

INVERSED

 

public static final java.lang.String INVERSED

 

Identifies whether this type is inversed.

 

Since: 1.0
See also: Constants

 

 

 

 

ChartStepAreaType

 

public ChartStepAreaType( )

 

 

 

 

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

 

 

 

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.