Interface HasStack<T>
- Type Parameters:
T- origin class type
- All Known Implementing Classes:
BarSeries,LineSeries
public interface HasStack<T>
A series that has stacked values. If stack the value. On the same category axis, the series with
the same stack name would be put on top of each other.
Notice:
Notice:
stack only supports stacking on value and log axis for now. time and
category axis are not supported.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptiongetStack()voidSets the stack name for the series or replaces an existing one.voidsetStackStrategy(HasStack.StackStrategy stackStrategy) Sets the stack strategy type or replaces an existing one for stack values if the stack name was specified.default Tdefault TwithStackStrategy(HasStack.StackStrategy stackStrategy)
-
Method Details
-
getStack
String getStack()- Returns:
- stack name for the series
-
setStack
Sets the stack name for the series or replaces an existing one.- Parameters:
stack- stack name to set
-
withStack
- Parameters:
stack- stack name to set- Returns:
- this
- See Also:
-
getStackStrategy
HasStack.StackStrategy getStackStrategy()- Returns:
- type of strategy for stacking values
-
setStackStrategy
Sets the stack strategy type or replaces an existing one for stack values if the stack name was specified.- Parameters:
stackStrategy- stack strategy type to set
-
withStackStrategy
- Parameters:
stackStrategy- stack strategy type to set- Returns:
- this
- See Also:
-