public class

ChartFastLineType

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

Class Overview

Represents FastLine chart type. When performance is critical, the fastLine chart type is a good alternative to the line chart. Fast line chart significantly reduces the drawing time of a series that contains of a large number of data points.

 // Creating series.
 ChartSeries series = new ChartSeries("Series 1", ChartTypes.Line);
 // Filling series with 10 data points.
 for(int i = 0; i < 10; i++)
 {
 	series.getPoints().addXY(i, Math.cos(i));
 }
 
* Similar output should be expected:

See Also

Summary

Fields
public static final ChartCustomAttribute<Double> BREAK_DELTA Identifies delta break mode used to draw fast line chart.
public static final ChartCustomAttribute<ChartLineType.BreakMode> BREAK_MODE Identifies value that determines whether auto break mode should be enabled for line chart type.
public static final ChartCustomAttribute<Boolean> BREAK_POINT Identifies value that determines point value used for breaks.
[Expand]
Inherited Fields
From class com.artfulbits.aiCharts.Base.ChartType
Public Constructors
ChartFastLineType()
Sole constructor.
Public Methods
void draw(ChartRenderArgs args)
Draws this chart type on surface specified along.
void drawMarkers(ChartRenderArgs args)
Iterates over points collection for this chart type and draws marker for each point that requires it.
[Expand]
Inherited Methods
From class com.artfulbits.aiCharts.Base.ChartType
From class java.lang.Object

Fields

public static final ChartCustomAttribute<Double> BREAK_DELTA

Identifies delta break mode used to draw fast line chart.

public static final ChartCustomAttribute<ChartLineType.BreakMode> BREAK_MODE

Identifies value that determines whether auto break mode should be enabled for line chart type.

public static final ChartCustomAttribute<Boolean> BREAK_POINT

Identifies value that determines point value used for breaks.

Public Constructors

public ChartFastLineType ()

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 void drawMarkers (ChartRenderArgs args)

Iterates over points collection for this chart type and draws marker for each point that requires it.

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