public class

ChartSplineAreaType

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

Class Overview

Represents Spline Area chart type. Type of area chart that plots a fitted curve through each data point in a series.

 // Creating series.
 ChartSeries series = new ChartSeries("Series 1", ChartTypes.SplineArea);
 // 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:

Spline area type uses YValue type to determine index of corresponding Y value among chart point's Y values.

Summary

Fields
public static final ChartCustomAttribute<ChartBorderStyle> BORDER_STYLE Indicates border style of area.
[Expand]
Inherited Fields
From class com.artfulbits.aiCharts.Types.ChartSplineType
From class com.artfulbits.aiCharts.Base.ChartType
Public Constructors
ChartSplineAreaType()
Sole constructor.
Public Methods
void draw(ChartRenderArgs args)
Draws this chart type on surface specified along.
[Expand]
Inherited Methods
From class com.artfulbits.aiCharts.Types.ChartSplineType
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 Constructors

public ChartSplineAreaType ()

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.