Package com.jalios.jcms.chart
Class TimeChart
- java.lang.Object
-
- com.jalios.jcms.chart.AbstractChart<TimeChart>
-
- com.jalios.jcms.chart.TimeChart
-
public class TimeChart extends AbstractChart<TimeChart>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TimeChart
addHLine(double value, java.lang.String color, java.lang.String title)
TimeChart
addSeries(TimeChartSeries... series)
TimeChart
addVLine(double value, java.lang.String color, java.lang.String title)
TimeChart
avoidBeginYAxesAtZero()
TimeChart
displayTimeInTooltip()
com.fasterxml.jackson.databind.node.ObjectNode
getJsonConfiguration()
return common chart configurationjava.util.List<LineData>
getLinesList()
Series.PointStyle
getPointStyle()
java.lang.String
getRoundXAxis()
java.util.List<TimeChartSeries>
getSeriesList()
protected TimeChart
getThis()
TimeChart
ignoreTooltipFormat()
boolean
isAvoidBeginYAxesAtZero()
boolean
isDisplayTimeInTooltip()
boolean
isIgnoreTooltipFormat()
boolean
isLogarithmicYAxes()
TimeChart
logarithmicYAxes()
TimeChart
setAvoidBeginYAxesAtZero(boolean avoidBeginYAxesAtZero)
TimeChart
setDisplayTimeInTooltip(boolean displayTimeInTooltip)
TimeChart
setIgnoreTooltipFormat(boolean ignoreTooltipFormat)
void
setLinesList(java.util.List<LineData> linesList)
TimeChart
setLogarithmicYAxes(boolean logarithmicYAxes)
TimeChart
setPointStyle(Series.PointStyle pointStyle)
TimeChart
setRoundXAxis(java.lang.String roundXAxis)
void
setSeriesList(java.util.List<TimeChartSeries> 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 TimeChart getThis()
- Specified by:
getThis
in classAbstractChart<TimeChart>
-
addSeries
public TimeChart addSeries(TimeChartSeries... series)
-
getSeriesList
public java.util.List<TimeChartSeries> getSeriesList()
-
setSeriesList
public void setSeriesList(java.util.List<TimeChartSeries> seriesList)
-
getLinesList
public java.util.List<LineData> getLinesList()
-
setLinesList
public void setLinesList(java.util.List<LineData> linesList)
-
addHLine
public TimeChart addHLine(double value, java.lang.String color, java.lang.String title)
-
addVLine
public TimeChart addVLine(double value, java.lang.String color, java.lang.String title)
-
getPointStyle
public Series.PointStyle getPointStyle()
-
setPointStyle
public TimeChart setPointStyle(Series.PointStyle pointStyle)
-
isAvoidBeginYAxesAtZero
public boolean isAvoidBeginYAxesAtZero()
-
setAvoidBeginYAxesAtZero
public TimeChart setAvoidBeginYAxesAtZero(boolean avoidBeginYAxesAtZero)
-
avoidBeginYAxesAtZero
public TimeChart avoidBeginYAxesAtZero()
-
isDisplayTimeInTooltip
public boolean isDisplayTimeInTooltip()
-
setDisplayTimeInTooltip
public TimeChart setDisplayTimeInTooltip(boolean displayTimeInTooltip)
-
displayTimeInTooltip
public TimeChart displayTimeInTooltip()
-
isIgnoreTooltipFormat
public boolean isIgnoreTooltipFormat()
-
setIgnoreTooltipFormat
public TimeChart setIgnoreTooltipFormat(boolean ignoreTooltipFormat)
-
ignoreTooltipFormat
public TimeChart ignoreTooltipFormat()
-
isLogarithmicYAxes
public boolean isLogarithmicYAxes()
-
setLogarithmicYAxes
public TimeChart setLogarithmicYAxes(boolean logarithmicYAxes)
-
logarithmicYAxes
public TimeChart logarithmicYAxes()
-
getRoundXAxis
public java.lang.String getRoundXAxis()
-
setRoundXAxis
public TimeChart setRoundXAxis(java.lang.String roundXAxis)
-
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<TimeChart>
- Returns:
- the
ObjectNode
configuration - Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-