Package com.androidplot.ui
Class RenderStack
-
- All Implemented Interfaces:
public class RenderStack<SeriesType extends Series, FormatterType extends Formatter>A stack of series to be rendered. The stack order is immutable but individual elements may be manipulated via the public methods of RenderStack.StackElement.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classRenderStack.StackElementAn element on the render stack.
-
Field Summary
Fields Modifier and Type Field Description public final ArrayList<RenderStack.StackElement<SeriesType, FormatterType>>elements
-
Constructor Summary
Constructors Constructor Description RenderStack(Plot plot)
-
Method Summary
Modifier and Type Method Description ArrayList<RenderStack.StackElement<SeriesType, FormatterType>>getElements()voidsync()Syncs the stack structure with plot's current state. voiddisable(@NonNull() Class<out SeriesRenderer> rendererClass)Invokes setEnabled with a value of false on all stack elements associated with the specified renderer. -
-
Constructor Detail
-
RenderStack
RenderStack(Plot plot)
-
-
Method Detail
-
getElements
@NonNull() ArrayList<RenderStack.StackElement<SeriesType, FormatterType>> getElements()
-
sync
void sync()
Syncs the stack structure with plot's current state. Should be called before rendering series data to an XYGraphWidget.
-
disable
void disable(@NonNull() Class<out SeriesRenderer> rendererClass)
Invokes setEnabled with a value of false on all stack elements associated with the specified renderer.
-
-
-
-