public final class

ColumnSeries

extends CartesianSeries<T extends SeriesStyle>
java.lang.Object
   ↳ com.shinobicontrols.charts.Series<T extends com.shinobicontrols.charts.SeriesStyle>
     ↳ com.shinobicontrols.charts.CartesianSeries<T extends com.shinobicontrols.charts.SeriesStyle>
       ↳ com.shinobicontrols.charts.ColumnSeries

Class Overview

Displays a ColumnSeries on the chart. A ColumnSeries is visualized as a vertical rectangle on the chart, where the height of the rectangle equates to the y value of the data point. The area of the column can be filled, depending on the style of the series.

ColumnSeries may be stacked on top of each other by using the setStackId(Integer) method.

Summary

Public Constructors
ColumnSeries()
Constructs a new ColumnSeries.
Public Methods
SeriesStyleProvider<T extends SeriesStyle> createDefaultSeriesStyleProvider()
Creates the default SeriesStyleProvider for this Series type.
SeriesStyleProvider<ColumnSeriesStyle> getSeriesStyleProvider()
Returns a SeriesStyleProvider which provides ColumnSeriesStyle objects for the purposes of styling this ColumnSeries' per-point applicable styles.
void setSeriesStyleProvider(SeriesStyleProvider<ColumnSeriesStyle> seriesStyleProvider)
Sets the SeriesStyleProvider to be used to provide ColumnSeriesStyle objects for the purposes of styling this ColumnSeries' per-point applicable styles.
[Expand]
Inherited Methods
From class com.shinobicontrols.charts.CartesianSeries
From class com.shinobicontrols.charts.Series
From class java.lang.Object

Public Constructors

public ColumnSeries ()

Constructs a new ColumnSeries.

Public Methods

public SeriesStyleProvider<T extends SeriesStyle> createDefaultSeriesStyleProvider ()

Creates the default SeriesStyleProvider for this Series type.

This particular implementation provides one of the two Series-level SeriesStyle objects: that obtained from getSelectedStyle() or from getStyle(), depending on whether the individual data point is selected or not.

Returns

public SeriesStyleProvider<ColumnSeriesStyle> getSeriesStyleProvider ()

Returns a SeriesStyleProvider which provides ColumnSeriesStyle objects for the purposes of styling this ColumnSeries' per-point applicable styles.

By default, this ColumnSeries has the SeriesStyleProvider created by the createDefaultSeriesStyleProvider() method set on it.

Returns

public void setSeriesStyleProvider (SeriesStyleProvider<ColumnSeriesStyle> seriesStyleProvider)

Sets the SeriesStyleProvider to be used to provide ColumnSeriesStyle objects for the purposes of styling this ColumnSeries' per-point applicable styles.

SeriesStyleProvider implementations can achieve individual point styling by returning customized styles for particular data points based on their properties. The default SeriesStyleProvider for a particular Series type can be obtained through the createDefaultSeriesStyleProvider() method.

The given SeriesStyleProvider must not be null otherwise an IllegalArgumentException will be thrown.

Parameters
seriesStyleProvider the SeriesStyleProvider to use for styling this ColumnSeries' per-point applicable styles, must not be null