public final class LineOptions extends MultiScalesOptions
Constructor and Description |
---|
LineOptions(AbstractChart<?,?> chart)
Builds the object storing the chart instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isShowLines()
If false, the lines between points are not drawn.
|
boolean |
isSpanGaps()
If false, NaN data causes a break in the line.
|
void |
setShowLines(boolean showLine)
If false, the lines between points are not drawn.
|
void |
setSpanGaps(boolean spanGaps)
If false, NaN data causes a break in the line.
|
getScales
addHandler, generateLegend, getAnimation, getDevicePixelRatio, getElements, getEvents, getHover, getLayout, getLegend, getLegendCallBack, getPlugins, getResponsiveAnimationDuration, getTitle, getTooltips, isAnimationEnable, isMaintainAspectRatio, isResponsive, onClick, onHover, onItemClick, onResize, removeHandler, setAnimationEnabled, setDevicePixelRatio, setEvents, setLegendCallBack, setMaintainAspectRatio, setResponsive, setResponsiveAnimationDuration
onAdd, onRemove
getChart
checkAndGetDoubleValues, checkAndGetEnumValues, checkAndGetIntegerValues, checkAndGetStringValues, checkAndSetDoubleValues, checkAndSetEnumValues, checkAndSetIntegerValues, checkAndSetStringValues, getDoubleArray, getIntegerArray, getJavaScriptObject, getObjectArray, getStringArray, getValue, getValue, getValue, getValue, getValue, getValue, getValue, has, has, hasToBeRegistered, isEmpty, keys, remove, remove, removeIfExists, setDoubleArray, setEnumValueArray, setIntegerArray, setObjectArray, setStringArray, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, toString, type
public LineOptions(AbstractChart<?,?> chart)
chart
- chart instancepublic void setShowLines(boolean showLine)
showLine
- If false, the lines between points are not drawn.public boolean isShowLines()
Options.isShowLines()
.public void setSpanGaps(boolean spanGaps)
spanGaps
- If false, NaN data causes a break in the line.public boolean isSpanGaps()
Options.isSpanGaps()
.