Package com.jalios.jcms.chart.series
Class TimeChartSeries
- java.lang.Object
-
- com.jalios.jcms.chart.series.Series<TimeChartSeries>
-
- com.jalios.jcms.chart.series.TimeChartSeries
-
public class TimeChartSeries extends Series<TimeChartSeries>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.jalios.jcms.chart.series.Series
Series.PointStyle
-
-
Constructor Summary
Constructors Constructor Description TimeChartSeries(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TimeChartSeries
add(java.lang.Long instant, double value)
TimeChartSeries
add(java.lang.Long instant, DataPoint dataPoint)
TimeChartSeries
add(java.util.Calendar instant, double value)
TimeChartSeries
add(java.util.Calendar instant, DataPoint dataPoint)
TimeChartSeries
add(java.util.Date instant, double value)
TimeChartSeries
add(java.util.Date instant, DataPoint dataPoint)
TimeChartSeries
disableSmoothing()
TimeChartSeries
enableSmoothing()
TimeChartSeries
fill()
DataPoint
get(java.lang.Long instant)
java.lang.String
getBgColor()
java.lang.String
getColor()
java.util.Map<java.lang.Long,DataPoint>
getDataMap()
com.fasterxml.jackson.databind.node.ObjectNode
getJsonDataNode(com.fasterxml.jackson.databind.ObjectMapper mapper)
int
getPointHoverRadius()
int
getPointRadius()
Series.PointStyle
getPointStyle()
protected TimeChartSeries
getThis()
TimeChartSeries
hideLine()
boolean
isFilled()
boolean
isHideLine()
boolean
isSmooth()
boolean
isStepped()
TimeChartSeries
setBgColor(java.lang.String bgColor)
TimeChartSeries
setColor(java.lang.String color)
TimeChartSeries
setDataMap(java.util.Map<java.lang.Long,DataPoint> dataMap)
TimeChartSeries
setFilled(boolean filled)
TimeChartSeries
setHideLine(boolean hideLine)
TimeChartSeries
setPointHoverRadius(int pointHoverRadius)
TimeChartSeries
setPointRadius(int pointRadius)
TimeChartSeries
setPointStyle(Series.PointStyle pointStyle)
TimeChartSeries
setSmooth(boolean smooth)
TimeChartSeries
setStepped(boolean stepped)
TimeChartSeries
stepped()
-
Methods inherited from class com.jalios.jcms.chart.series.Series
getBorderWidth, getName, setBorderWidth, setName
-
-
-
-
Method Detail
-
getThis
protected TimeChartSeries getThis()
- Specified by:
getThis
in classSeries<TimeChartSeries>
-
add
public TimeChartSeries add(java.util.Calendar instant, double value)
-
add
public TimeChartSeries add(java.util.Date instant, double value)
-
add
public TimeChartSeries add(java.lang.Long instant, double value)
-
add
public TimeChartSeries add(java.util.Calendar instant, DataPoint dataPoint)
-
add
public TimeChartSeries add(java.util.Date instant, DataPoint dataPoint)
-
add
public TimeChartSeries add(java.lang.Long instant, DataPoint dataPoint)
-
getDataMap
public java.util.Map<java.lang.Long,DataPoint> getDataMap()
-
get
public DataPoint get(java.lang.Long instant)
-
setDataMap
public TimeChartSeries setDataMap(java.util.Map<java.lang.Long,DataPoint> dataMap)
-
isFilled
public boolean isFilled()
-
setFilled
public TimeChartSeries setFilled(boolean filled)
-
fill
public TimeChartSeries fill()
-
getPointRadius
public int getPointRadius()
-
setPointRadius
public TimeChartSeries setPointRadius(int pointRadius)
-
getPointStyle
public Series.PointStyle getPointStyle()
-
setPointStyle
public TimeChartSeries setPointStyle(Series.PointStyle pointStyle)
-
isStepped
public boolean isStepped()
-
setStepped
public TimeChartSeries setStepped(boolean stepped)
-
stepped
public TimeChartSeries stepped()
-
isHideLine
public boolean isHideLine()
-
setHideLine
public TimeChartSeries setHideLine(boolean hideLine)
-
hideLine
public TimeChartSeries hideLine()
-
isSmooth
public boolean isSmooth()
-
setSmooth
public TimeChartSeries setSmooth(boolean smooth)
-
disableSmoothing
public TimeChartSeries disableSmoothing()
-
enableSmoothing
public TimeChartSeries enableSmoothing()
-
getColor
public java.lang.String getColor()
-
setColor
public TimeChartSeries setColor(java.lang.String color)
-
getBgColor
public java.lang.String getBgColor()
-
setBgColor
public TimeChartSeries setBgColor(java.lang.String bgColor)
-
getPointHoverRadius
public int getPointHoverRadius()
-
setPointHoverRadius
public TimeChartSeries setPointHoverRadius(int pointHoverRadius)
-
getJsonDataNode
public com.fasterxml.jackson.databind.node.ObjectNode getJsonDataNode(com.fasterxml.jackson.databind.ObjectMapper mapper)
- Overrides:
getJsonDataNode
in classSeries<TimeChartSeries>
-
-