Interface HasSpanGaps
-
- All Known Implementing Classes:
AreaDataset,ChartOptions,ExtendedOptions,GlobalOptions,LineDataset,LiningDataset,Options,OptionsNode,RadarDataset,RegressionDataset,ScaledOptions,ScatterDataset,StackedAreaDataset,StackedLineDataset,TimeSeriesLineDataset,VerticalLineDataset
public interface HasSpanGapsDefines 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 SpanGapHandlergetSpanGapHandler()Returns a span gap handler instance to use in the default methods of this interface.default doublegetSpanGaps()Returns the value of the data if lines will be drawn between points with no or null data.default booleanisSpanGaps()Returns if lines will be drawn between points with no or null data.
Iffalse, points withDouble.NaNdata will create a break in the line.default voidsetSpanGaps(boolean spanGaps)Sets if lines will be drawn between points with no or null data.
Iffalse, points withDouble.NaNdata will create a break in the line.default voidsetSpanGaps(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.NaNdata will create a break in the line.- Parameters:
spanGaps-trueif lines will be drawn between points with no or null data.
Iffalse, points withDouble.NaNdata 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.NaNdata will create a break in the line.- Returns:
trueif lines will be drawn between points with no or null data.
Iffalse, points withDouble.NaNdata 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
-
-