public class BarOptions extends Options<BarOptions>
Constructor and Description |
---|
BarOptions() |
Modifier and Type | Method and Description |
---|---|
RectangleElements |
getElements() |
Hover |
getHover() |
BarScale |
getScales() |
static BarScale |
scales()
Static factory, constructs a
Scale implementation appropriate for
a BarOptions instance. |
BarOptions |
setElements(RectangleElements elements) |
BarOptions |
setHover(Hover hover)
Label's hover mode.
|
BarOptions |
setScales(BarScale scales)
Default
- |
getAnimation, getEvents, getLayout, getLegend, getLegendCallback, getMaintainAspectRatio, getOnClick, getOnResize, getResponsive, getResponsiveAnimationDuration, getTitle, getTooltips, setAnimation, setEvents, setLayout, setLegend, setLegendCallback, setMaintainAspectRatio, setOnClick, setOnResize, setResponsive, setResponsiveAnimationDuration, setTitle, setTooltips
public static BarScale scales()
Scale
implementation appropriate for
a BarOptions
instance.BarScale
instancepublic Hover getHover()
getHover
in class Options<BarOptions>
Hover
instance or null
setHover(Hover)
public BarOptions setHover(Hover hover)
Label's hover mode. "label" is used since the x axis displays data by the index in the dataset.
Default "label"
setHover
in class Options<BarOptions>
hover
- Hover
instance or null
BarOptions
instance for method chainingpublic BarScale getScales()
BarScale
instance or null
setScales(BarScale)
public BarOptions setScales(BarScale scales)
Default -
scales
- BarScale
instance or null
BarOptions
instance for method chainingpublic RectangleElements getElements()
RectangleElements
instance, or null
if not setpublic BarOptions setElements(RectangleElements elements)
elements
- an RectangleElements
instance, or null
Copyright © 2017. All rights reserved.