Class HorizontalTimelinePlotExample
- java.lang.Object
-
- com.metsci.glimpse.core.examples.timeline.HorizontalTimelinePlotExample
-
- Direct Known Subclasses:
CollapsibleTimelinePlotExample,VerticalTimelinePlotExample
public class HorizontalTimelinePlotExample extends Object
Demonstrates use of StackedTimePlot2D to create a horizontal timeline axis with lineplots stacked vertically on top, each with an independent y axis.Lineplots can be added and removed with
com.metsci.glimpse.core.plot.timeline.StackedTimePlot2D#createChartPlot( String )andcom.metsci.glimpse.core.plot.timeline.StackedTimePlot2D#deletePlot( String ). When a new chart is created, aTimePlotInforeference is provided, allowing addition ofGlimpsePaintersand modification of chart size, ordering, and coloring.- Author:
- ulman
-
-
Constructor Summary
Constructors Constructor Description HorizontalTimelinePlotExample()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StackedTimePlot2DgetPlot()static voidmain(String[] args)
-
-
-
Method Detail
-
main
public static void main(String[] args)
-
getPlot
public StackedTimePlot2D getPlot()
-
-