public class

ChartRangeColumnType

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

Class Overview

Range-column chart is similar to the column chart, except that each column is rendered over a range. Therefore, the user must specify the y-axis' start and end values for each point, with each column spanning over a range.

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

Summary

Fields
public static final ChartCustomAttribute<Alignment> MARKER_ALIGN Value indicating how point markers should be aligned.
[Expand]
Inherited Fields
From class com.artfulbits.aiCharts.Base.ChartType
Public Constructors
ChartRangeColumnType()
Public Methods
void draw(ChartRenderArgs args)
Draws this chart type on surface specified along.
Usage[] getRequiredUsages()
Gets value indicating usages that this chart type requires to be shown.
DoubleRange getYRange(ChartSeries series)
Gets range that this chart type will consume having specified series.
boolean isSideBySide()
Indicated whether this chart type is placed side by side.
[Expand]
Inherited Methods
From class com.artfulbits.aiCharts.Base.ChartType
From class java.lang.Object

Fields

public static final ChartCustomAttribute<Alignment> MARKER_ALIGN

Value indicating how point markers should be aligned.

Public Constructors

public ChartRangeColumnType ()

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 Usage[] getRequiredUsages ()

Gets value indicating usages that this chart type requires to be shown.

Returns

public DoubleRange getYRange (ChartSeries series)

Gets range that this chart type will consume having specified series.

Parameters
series instance of ChartSeries class.
Returns
  • instance of DoubleRange class that represents required Y range.

public boolean isSideBySide ()

Indicated whether this chart type is placed side by side.

Returns
  • true if chart type is side by side, otherwise false.