com.googlecode.wickedcharts.highcharts.options.series
Class Series<D>

java.lang.Object
  extended by com.googlecode.wickedcharts.highcharts.options.series.Series<D>
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CoordinatesSeries, CustomCoordinatesSeries, PointSeries, RangeSeries, SimpleSeries

public abstract class Series<D>
extends Object
implements Serializable

Defines the configuration of the "series" option.

Author:
Tom Hombergs (tom.hombergs@gmail.com)
See Also:
http://api.highcharts.com/highcharts#series, Serialized Form

Constructor Summary
Series()
           
 
Method Summary
 Series<D> addPoint(D point)
          Adds a point to this series.
 Center getCenter()
           
 ColorReference getColor()
           
 GridLineDashStyle getDashStyle()
           
 List<D> getData()
           
 DataLabels getDataLabels()
           
 Boolean getEnableMouseTracking()
           
 PixelOrPercent getInnerSize()
           
 Integer getLegendIndex()
           
 Marker getMarker()
           
 String getName()
           
 Number getPointInterval()
           
 PointPlacement getPointPlacement()
           
 Number getPointStart()
           
 Boolean getShowInLegend()
           
 PixelOrPercent getSize()
           
 String getStack()
           
 StatesChoice getStates()
           
 Tooltip getTooltip()
           
 SeriesType getType()
           
 Integer getWickedChartsId()
          Retrieves the Wicked Charts specific ID for this Point.
 Integer getxAxis()
           
 Integer getyAxis()
           
 Series<D> setCenter(Center center)
           
 Series<D> setColor(Color color)
           
 Series<D> setColor(ColorReference color)
           
 Series<D> setDashStyle(GridLineDashStyle dashStyle)
           
 Series<D> setData(D... data)
           
 Series<D> setData(List<D> data)
           
 Series<D> setDataLabels(DataLabels dataLabels)
           
 Series<D> setEnableMouseTracking(Boolean enableMouseTracking)
           
 Series<D> setInnerSize(PixelOrPercent innerSize)
           
 Series<D> setLegendIndex(Integer legendIndex)
           
 Series<D> setMarker(Marker marker)
           
 Series<D> setName(String name)
           
 Series<D> setPointInterval(Number pointInterval)
           
 Series<D> setPointPlacement(PointPlacement pointPlacement)
           
 Series<D> setPointStart(Number pointStart)
           
 Series<D> setShowInLegend(Boolean showInLegend)
           
 Series<D> setSize(PixelOrPercent size)
           
 Series<D> setStack(String stack)
           
 Series<D> setStates(StatesChoice states)
           
 Series<D> setTooltip(Tooltip tooltip)
           
 Series<D> setType(SeriesType type)
           
 void setWickedChartsId(Integer wickedChartsId)
          Sets the Wicked Charts specific ID for this Point.
 Series<D> setxAxis(Integer xAxis)
          Zero-based index of the X-Axis this series should be connected to.
 Series<D> setyAxis(Integer yAxis)
          Zero-based index of the Y-Axis this series should be connected to.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Series

public Series()
Method Detail

setWickedChartsId

public void setWickedChartsId(Integer wickedChartsId)
Sets the Wicked Charts specific ID for this Point.


getWickedChartsId

public Integer getWickedChartsId()
Retrieves the Wicked Charts specific ID for this Point.


addPoint

public Series<D> addPoint(D point)
Adds a point to this series.

Parameters:
point - the point to add.

getCenter

public Center getCenter()

getColor

public ColorReference getColor()

getData

public List<D> getData()

getDataLabels

public DataLabels getDataLabels()

getInnerSize

public PixelOrPercent getInnerSize()

getLegendIndex

public Integer getLegendIndex()

getMarker

public Marker getMarker()

getName

public String getName()

getPointInterval

public Number getPointInterval()

getPointPlacement

public PointPlacement getPointPlacement()

getPointStart

public Number getPointStart()

getShowInLegend

public Boolean getShowInLegend()

getSize

public PixelOrPercent getSize()

getStack

public String getStack()

getType

public SeriesType getType()

getxAxis

public Integer getxAxis()

getyAxis

public Integer getyAxis()

setCenter

public Series<D> setCenter(Center center)

setColor

public Series<D> setColor(Color color)

setColor

public Series<D> setColor(ColorReference color)

setData

public Series<D> setData(D... data)

setData

public Series<D> setData(List<D> data)

setDataLabels

public Series<D> setDataLabels(DataLabels dataLabels)

setInnerSize

public Series<D> setInnerSize(PixelOrPercent innerSize)

setLegendIndex

public Series<D> setLegendIndex(Integer legendIndex)

setMarker

public Series<D> setMarker(Marker marker)

setName

public Series<D> setName(String name)

setPointInterval

public Series<D> setPointInterval(Number pointInterval)

setPointPlacement

public Series<D> setPointPlacement(PointPlacement pointPlacement)

setPointStart

public Series<D> setPointStart(Number pointStart)

setShowInLegend

public Series<D> setShowInLegend(Boolean showInLegend)

setSize

public Series<D> setSize(PixelOrPercent size)

setStack

public Series<D> setStack(String stack)

setType

public Series<D> setType(SeriesType type)

setxAxis

public Series<D> setxAxis(Integer xAxis)
Zero-based index of the X-Axis this series should be connected to.


setyAxis

public Series<D> setyAxis(Integer yAxis)
Zero-based index of the Y-Axis this series should be connected to.


setTooltip

public Series<D> setTooltip(Tooltip tooltip)

getTooltip

public Tooltip getTooltip()

setDashStyle

public Series<D> setDashStyle(GridLineDashStyle dashStyle)

getDashStyle

public GridLineDashStyle getDashStyle()

setStates

public Series<D> setStates(StatesChoice states)

getStates

public StatesChoice getStates()

setEnableMouseTracking

public Series<D> setEnableMouseTracking(Boolean enableMouseTracking)

getEnableMouseTracking

public Boolean getEnableMouseTracking()


Copyright © 2013. All Rights Reserved.