Summ:  Constr. Methods    Details:  Constr. Methods      Class:  Next
Class ChartAreaType

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

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


Represents Area chart type. A type of presentation graphic that emphasizes a change in values by filling in the portion of the graph beneath the line connecting various data points.
 // Creating series.
 ChartSeries series = new ChartSeries("Series 1", ChartTypes.Area);
 // Filling series with 10 data points.
 for (int i = 0; i < 10; i++)
 	series.getPoints().addXY(i, Math.cos(i));
Area type uses USAGE_Y type to determine index of corresponding Y value among chart point's Y values.


Since: 1.0



Constructors Summary



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







public ChartAreaType( )







public boolean isOriginDependent( )


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


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


Overrides: ChartType.isOriginDependent()






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.