Interface HasSpanGaps
-
- All Known Implementing Classes:
AreaDataset
,ChartOptions
,ExtendedOptions
,GlobalOptions
,LineDataset
,LiningDataset
,Options
,OptionsNode
,RadarDataset
,ScaledOptions
,ScatterDataset
,StackedAreaDataset
,StackedLineDataset
,TimeSeriesLineDataset
,VerticalLineDataset
public interface HasSpanGaps
Defines a configuration element which is managing the SPANGAPS property.
It has being used in the options and datasets instances where SPANGAPS is required.- Author:
- Andrea "Stock" Stocchero
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description SpanGapHandler
getSpanGapHandler()
Returns a span gap handler instance to use in the default methods of this interface.default double
getSpanGaps()
Returns the value of the data if lines will be drawn between points with no or null data.default boolean
isSpanGaps()
Returns if lines will be drawn between points with no or null data.
Iffalse
, points withDouble.NaN
data will create a break in the line.default void
setSpanGaps(boolean spanGaps)
Sets if lines will be drawn between points with no or null data.
Iffalse
, points withDouble.NaN
data will create a break in the line.default void
setSpanGaps(double spanGaps)
Sets the value of the data if lines will be drawn between points with no or null data.
-
-
-
Method Detail
-
getSpanGapHandler
SpanGapHandler getSpanGapHandler()
Returns a span gap handler instance to use in the default methods of this interface.- Returns:
- a span gap handler instance
-
setSpanGaps
default void setSpanGaps(boolean spanGaps)
Sets if lines will be drawn between points with no or null data.
Iffalse
, points withDouble.NaN
data will create a break in the line.- Parameters:
spanGaps
-true
if lines will be drawn between points with no or null data.
Iffalse
, points withDouble.NaN
data will create a break in the line
-
setSpanGaps
default void setSpanGaps(double spanGaps)
Sets the value of the data if lines will be drawn between points with no or null data.- Parameters:
spanGaps
- the value of the data if lines will be drawn between points with no or null data
-
isSpanGaps
default boolean isSpanGaps()
Returns if lines will be drawn between points with no or null data.
Iffalse
, points withDouble.NaN
data will create a break in the line.- Returns:
true
if lines will be drawn between points with no or null data.
Iffalse
, points withDouble.NaN
data will create a break in the line
-
getSpanGaps
default double getSpanGaps()
Returns the value of the data if lines will be drawn between points with no or null data.- Returns:
- the value of the data if lines will be drawn between points with no or null data
-
-