Package com.jalios.jcms.chart.series
Class ChartSeries<T extends ChartSeries<T>>
- java.lang.Object
-
- com.jalios.jcms.chart.series.Series<T>
-
- com.jalios.jcms.chart.series.ChartSeries<T>
-
- Direct Known Subclasses:
BarSeries
,LineSeries
public abstract class ChartSeries<T extends ChartSeries<T>> extends Series<T>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.jalios.jcms.chart.series.Series
Series.PointStyle
-
-
Constructor Summary
Constructors Constructor Description ChartSeries(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
add(java.lang.String label, double value)
T
add(java.lang.String label, DataPoint value)
T
fill()
DataPoint
get(java.lang.String label)
java.lang.String
getBgColor()
java.lang.String
getColor()
java.util.Map<java.lang.String,DataPoint>
getDataMap()
com.fasterxml.jackson.databind.node.ObjectNode
getJsonDataNode(com.fasterxml.jackson.databind.ObjectMapper mapper)
T
hideLine()
boolean
isFilled()
boolean
isHideLine()
T
setBgColor(java.lang.String bgColor)
T
setColor(java.lang.String color)
T
setDataMap(java.util.LinkedHashMap<java.lang.String,DataPoint> dataMap)
T
setFilled(boolean filled)
T
setHideLine(boolean hideLine)
-
Methods inherited from class com.jalios.jcms.chart.series.Series
getBorderWidth, getName, getThis, setBorderWidth, setName
-
-
-
-
Method Detail
-
getDataMap
public java.util.Map<java.lang.String,DataPoint> getDataMap()
-
get
public DataPoint get(java.lang.String label)
-
add
public T add(java.lang.String label, double value)
-
isFilled
public boolean isFilled()
-
setFilled
public T setFilled(boolean filled)
-
fill
public T fill()
-
isHideLine
public boolean isHideLine()
-
setHideLine
public T setHideLine(boolean hideLine)
-
hideLine
public T hideLine()
-
getColor
public java.lang.String getColor()
-
setColor
public T setColor(java.lang.String color)
-
getBgColor
public java.lang.String getBgColor()
-
setBgColor
public T setBgColor(java.lang.String bgColor)
-
getJsonDataNode
public com.fasterxml.jackson.databind.node.ObjectNode getJsonDataNode(com.fasterxml.jackson.databind.ObjectMapper mapper)
- Overrides:
getJsonDataNode
in classSeries<T extends ChartSeries<T>>
-
-