Module nl.crashdata.chartjs.data
Package nl.crashdata.chartjs.data.simple
Class SimpleChartJsLegendConfig
- java.lang.Object
-
- nl.crashdata.chartjs.data.simple.SimpleChartJsLegendConfig
-
- All Implemented Interfaces:
Serializable,ChartJsLegendConfig
public class SimpleChartJsLegendConfig extends Object implements ChartJsLegendConfig
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SimpleChartJsLegendConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleangetDisplay()BooleangetFullWidth()List<String>getLabels()ChartJsEventHandlergetOnClick()ChartJsEventHandlergetOnHover()ChartJsEventHandlergetOnLeave()ChartJsPositiongetPosition()BooleangetReverse()voidsetDisplay(Boolean display)voidsetFullWidth(Boolean fullWidth)voidsetLabels(List<String> labels)voidsetOnClick(ChartJsEventHandler onClick)voidsetOnHover(ChartJsEventHandler onHover)voidsetOnLeave(ChartJsEventHandler onLeave)voidsetPosition(ChartJsPosition position)voidsetReverse(Boolean reverse)
-
-
-
Method Detail
-
getDisplay
public Boolean getDisplay()
- Specified by:
getDisplayin interfaceChartJsLegendConfig
-
setDisplay
public void setDisplay(Boolean display)
-
getPosition
public ChartJsPosition getPosition()
- Specified by:
getPositionin interfaceChartJsLegendConfig
-
setPosition
public void setPosition(ChartJsPosition position)
-
getFullWidth
public Boolean getFullWidth()
- Specified by:
getFullWidthin interfaceChartJsLegendConfig
-
setFullWidth
public void setFullWidth(Boolean fullWidth)
-
getReverse
public Boolean getReverse()
- Specified by:
getReversein interfaceChartJsLegendConfig
-
setReverse
public void setReverse(Boolean reverse)
-
getLabels
public List<String> getLabels()
- Specified by:
getLabelsin interfaceChartJsLegendConfig
-
getOnClick
public ChartJsEventHandler getOnClick()
- Specified by:
getOnClickin interfaceChartJsLegendConfig
-
setOnClick
public void setOnClick(ChartJsEventHandler onClick)
-
getOnHover
public ChartJsEventHandler getOnHover()
- Specified by:
getOnHoverin interfaceChartJsLegendConfig
-
setOnHover
public void setOnHover(ChartJsEventHandler onHover)
-
getOnLeave
public ChartJsEventHandler getOnLeave()
- Specified by:
getOnLeavein interfaceChartJsLegendConfig
-
setOnLeave
public void setOnLeave(ChartJsEventHandler onLeave)
-
-