Package com.jalios.jcms.chart
Class Chart
- java.lang.Object
-
- com.jalios.jcms.chart.AbstractChart<Chart>
-
- com.jalios.jcms.chart.Chart
-
public class Chart extends AbstractChart<Chart>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Chart
addSeries(ChartSeries<?>... series)
com.fasterxml.jackson.databind.node.ObjectNode
getJsonConfiguration()
return common chart configurationSeries.PointStyle
getPointStyle()
java.util.List<ChartSeries<?>>
getSeriesList()
protected Chart
getThis()
Chart
horizontal()
boolean
isHorizontal()
Chart
setHorizontal(boolean horizontal)
Chart
setPointStyle(Series.PointStyle pointStyle)
Chart
setSeriesList(java.util.List<ChartSeries<?>> seriesList)
-
Methods inherited from class com.jalios.jcms.chart.AbstractChart
addPattern, getChartTitle, getDefaultconfiguration, hideLegend, hideTitle, isAddPattern, isHideLegend, isHideTitle, setAddPattern, setChartTitle, setHideLegend, setHideTitle
-
-
-
-
Method Detail
-
getThis
protected Chart getThis()
- Specified by:
getThis
in classAbstractChart<Chart>
-
addSeries
public Chart addSeries(ChartSeries<?>... series)
-
getSeriesList
public java.util.List<ChartSeries<?>> getSeriesList()
-
setSeriesList
public Chart setSeriesList(java.util.List<ChartSeries<?>> seriesList)
-
getPointStyle
public Series.PointStyle getPointStyle()
-
setPointStyle
public Chart setPointStyle(Series.PointStyle pointStyle)
-
isHorizontal
public boolean isHorizontal()
-
setHorizontal
public Chart setHorizontal(boolean horizontal)
-
horizontal
public Chart horizontal()
-
getJsonConfiguration
public com.fasterxml.jackson.databind.node.ObjectNode getJsonConfiguration() throws com.fasterxml.jackson.core.JsonProcessingException
Description copied from class:AbstractChart
return common chart configuration- Overrides:
getJsonConfiguration
in classAbstractChart<Chart>
- Returns:
- the
ObjectNode
configuration - Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-