com.googlecode.wickedcharts.highcharts.options.series
Class Point

java.lang.Object
  extended by com.googlecode.wickedcharts.highcharts.options.series.Point
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
DrilldownPoint

public class Point
extends Object
implements Serializable

A point in a chart that has a label (or a name) and a color.

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

Constructor Summary
Point()
           
Point(Number y)
          Simple Constructor if a NamedPoint only has a value and nothing else.
Point(Number x, Number y)
           
Point(String name, Number y)
           
Point(String name, Number y, Color color)
          Convencience constructor.
Point(String name, Number y, ColorReference color)
           
 
Method Summary
 ColorReference getColor()
           
 DataLabels getDataLabels()
           
 Events getEvents()
           
 String getId()
           
 Integer getLegendIndex()
           
 Marker getMarker()
           
 String getName()
           
 Boolean getSelected()
           
 Boolean getSliced()
           
 Integer getWickedChartsId()
          Retrieves the Wicked Charts specific ID for this Point.
 Number getX()
           
 Number getY()
           
 Point setColor(Color color)
           
 Point setColor(ColorReference color)
           
 Point setDataLabels(DataLabels dataLabels)
           
 Point setEvents(Events events)
           
 Point setId(String id)
           
 Point setLegendIndex(Integer legendIndex)
           
 Point setMarker(Marker marker)
           
 Point setName(String name)
           
 Point setSelected(Boolean selected)
           
 Point setSliced(Boolean sliced)
           
 Point setWickedChartsId(Integer wickedChartsId)
          Sets the Wicked Charts specific ID for this Point.
 Point setX(Number x)
           
 Point setY(Number y)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Point

public Point()

Point

public Point(Number y)
Simple Constructor if a NamedPoint only has a value and nothing else.

Parameters:
y - the y value of this point.

Point

public Point(String name,
             Number y)

Point

public Point(Number x,
             Number y)

Point

public Point(String name,
             Number y,
             Color color)
Convencience constructor.


Point

public Point(String name,
             Number y,
             ColorReference color)
Method Detail

getColor

public ColorReference getColor()

getDataLabels

public DataLabels getDataLabels()

getEvents

public Events getEvents()

getId

public String getId()

getLegendIndex

public Integer getLegendIndex()

getMarker

public Marker getMarker()

getName

public String getName()

getSliced

public Boolean getSliced()

getX

public Number getX()

getY

public Number getY()

setColor

public Point setColor(Color color)

setColor

public Point setColor(ColorReference color)

setDataLabels

public Point setDataLabels(DataLabels dataLabels)

setEvents

public Point setEvents(Events events)

setId

public Point setId(String id)

setLegendIndex

public Point setLegendIndex(Integer legendIndex)

setMarker

public Point setMarker(Marker marker)

setName

public Point setName(String name)

setSliced

public Point setSliced(Boolean sliced)

setX

public Point setX(Number x)

setY

public Point setY(Number y)

setSelected

public Point setSelected(Boolean selected)

getSelected

public Boolean getSelected()

setWickedChartsId

public Point 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.



Copyright © 2013. All Rights Reserved.