Summ:  Fields Constr. Methods    Details:  Fields Constr. Methods      Class:  Constants Prev Next
Class ChartStepLineType

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

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


Represents Step Line chart type. A step line chart is similar to a line chart but does not use the shortest distance to connect two data points. Instead, the step line chart uses vertical and horizontal lines to connect the data points in a series forming a step-like progression.
 // Creating series.
 ChartSeries series = new ChartSeries("Series 1", ChartTypes.StepLine);
 // Filling series with 10 data points.
 for(int i = 0; i < 10; i++)
 	series.getPoints().addXY(i, Math.cos(i));
Step line type uses USAGE_Y type to determine index of corresponding Y value among chart point's Y values.


Since: 1.0



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



Constructors Summary



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







public static final java.lang.String INVERSED


Identifies whether this type is inversed.


Since: 1.0
See also: Constants







public ChartStepLineType( )







public void draw( ChartRenderArgs args)


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


instance of ChartRenderArgs that provides facilities to draw this type.


Implements: ChartType.draw(ChartRenderArgs)



© 2005 - 2010 ArtfulBits. All rights reserved.