|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.haldean.simplegraph.GraphFactory
public class GraphFactory
A class to create graphs of various types.
Constructor Summary | |
---|---|
GraphFactory()
|
Method Summary | ||
---|---|---|
static
|
forList(java.util.List<E> values)
Get a graph to represent a list of numbers with the default configuration. |
|
static
|
forList(java.util.List<E> values,
GraphConfiguration config)
Get a graph to represent a list of numbers. |
|
static
|
forStreamingData()
Get a graph for streaming data that uses the default configuration. |
|
static
|
forStreamingData(GraphConfiguration config)
Get a graph for streaming data with arbitrary, inferred precision. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GraphFactory()
Method Detail |
---|
public static <E extends java.lang.Number> StreamingGraphComponent<E> forStreamingData()
public static <E extends java.lang.Number> StreamingGraphComponent<E> forStreamingData(GraphConfiguration config)
config
- The configuration to use.public static <E extends java.lang.Number> StaticGraphComponent<E> forList(java.util.List<E> values)
values
- The values to graph.public static <E extends java.lang.Number> StaticGraphComponent<E> forList(java.util.List<E> values, GraphConfiguration config)
values
- The values to graph.config
- The configuration to use.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |