public class

ChartStepAreaType

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

Class Overview

Step charts are useful for showing a quantity which changes intermittently, but remains constant between these changes. Examples of data that benefits from being plotted in a step chart include interest rates vs. time and tax rates vs. income.

Summary

Fields
public static final ChartCustomAttribute<ChartBorderStyle> BORDER_STYLE Indicates border style of area.
public static final ChartCustomAttribute<Boolean> INVERSED Identifies whether this type is inversed.
[Expand]
Inherited Fields
From class com.artfulbits.aiCharts.Base.ChartType
Public Constructors
ChartStepAreaType()
Sole constructor.
Public Methods
void draw(ChartRenderArgs args)
Draws this chart type on surface specified along.
boolean isOriginDependent()
Indicates whether this type depends on axis origin value.
[Expand]
Inherited Methods
From class com.artfulbits.aiCharts.Base.ChartType
From class java.lang.Object

Fields

public static final ChartCustomAttribute<ChartBorderStyle> BORDER_STYLE

Indicates border style of area. "Simple" style draws only the top border.

public static final ChartCustomAttribute<Boolean> INVERSED

Identifies whether this type is inversed.

Public Constructors

public ChartStepAreaType ()

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

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

Indicates whether this type depends on axis origin value.

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