com.metsci.glimpse.examples.stacked
Class HorizontalTimelinePlotExample

java.lang.Object
  extended by com.metsci.glimpse.examples.stacked.HorizontalTimelinePlotExample
All Implemented Interfaces:
GlimpseLayoutProvider
Direct Known Subclasses:
VerticalTimelinePlotExample

public class HorizontalTimelinePlotExample
extends java.lang.Object
implements GlimpseLayoutProvider

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.plot.timeline.StackedTimePlot2D#createChartPlot( String ) and StackedTimePlot2D.deletePlot( String ). When a new chart is created, a TimePlotInfo reference is provided, allowing addition of GlimpsePainters and modification of chart size, ordering, and coloring.

Author:
ulman

Constructor Summary
HorizontalTimelinePlotExample()
           
 
Method Summary
 GlimpseLayout getLayout()
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HorizontalTimelinePlotExample

public HorizontalTimelinePlotExample()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception

getLayout

public GlimpseLayout getLayout()
Specified by:
getLayout in interface GlimpseLayoutProvider


Copyright © 2012 Metron, Inc.. All Rights Reserved.