Package io.keikai.model.impl.chart
Class ErrorBarImpl
java.lang.Object
io.keikai.model.impl.chart.ErrorBarImpl
- All Implemented Interfaces:
SErrorBar,Serializable
Default implementation of
SErrorBar.- Since:
- 7.0.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.keikai.model.SErrorBar
SErrorBar.BarType, SErrorBar.Direction, SErrorBar.ValueType -
Constructor Summary
ConstructorsConstructorDescriptionErrorBarImpl(SErrorBar.Direction direction, SErrorBar.BarType barType, SErrorBar.ValueType valueType) -
Method Summary
Modifier and TypeMethodDescriptionReturns the bar type (PLUS, MINUS, or BOTH).Returns the formula reference for custom minus error values, ornullif not using custom values.Returns the formula reference for custom plus error values, ornullif not using custom values.Returns the direction (X or Y) of this error bar.doubleReturns the fixed value used whenSErrorBar.getValueType()is FIXED or PERCENTAGE.Returns how the error value is calculated.voidsetCustomMinusRef(String customMinusRef) Sets the formula reference for custom minus error values.voidsetCustomPlusRef(String customPlusRef) Sets the formula reference for custom plus error values.voidsetFixedValue(double value) Sets the fixed value used when the value type is FIXED or PERCENTAGE.
-
Constructor Details
-
ErrorBarImpl
public ErrorBarImpl(SErrorBar.Direction direction, SErrorBar.BarType barType, SErrorBar.ValueType valueType)
-
-
Method Details
-
getDirection
Description copied from interface:SErrorBarReturns the direction (X or Y) of this error bar.- Specified by:
getDirectionin interfaceSErrorBar
-
getBarType
Description copied from interface:SErrorBarReturns the bar type (PLUS, MINUS, or BOTH).- Specified by:
getBarTypein interfaceSErrorBar
-
getValueType
Description copied from interface:SErrorBarReturns how the error value is calculated.- Specified by:
getValueTypein interfaceSErrorBar
-
getFixedValue
public double getFixedValue()Description copied from interface:SErrorBarReturns the fixed value used whenSErrorBar.getValueType()is FIXED or PERCENTAGE.- Specified by:
getFixedValuein interfaceSErrorBar
-
setFixedValue
public void setFixedValue(double value) Description copied from interface:SErrorBarSets the fixed value used when the value type is FIXED or PERCENTAGE.- Specified by:
setFixedValuein interfaceSErrorBar
-
getCustomPlusRef
Description copied from interface:SErrorBarReturns the formula reference for custom plus error values, ornullif not using custom values.- Specified by:
getCustomPlusRefin interfaceSErrorBar
-
setCustomPlusRef
Sets the formula reference for custom plus error values. -
getCustomMinusRef
Description copied from interface:SErrorBarReturns the formula reference for custom minus error values, ornullif not using custom values.- Specified by:
getCustomMinusRefin interfaceSErrorBar
-
setCustomMinusRef
Sets the formula reference for custom minus error values.
-