org.sourceforge.sparklines
Class Sparkline

java.lang.Object
  extended by org.sourceforge.sparklines.Sparkline

public final class Sparkline
extends java.lang.Object


Constructor Summary
Sparkline(java.lang.Iterable<SparklineValue> points)
           
 
Method Summary
static Sparkline aSparkline(java.math.BigDecimal... points)
           
static Sparkline aSparkline(SparklineValue... points)
           
 java.lang.String asSvg()
           
 java.lang.String asSvg(SvgDimension width, SvgDimension height)
           
 void asSvg(java.io.Writer writer)
           
 void asSvg(java.io.Writer writer, SvgDimension width, SvgDimension height)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Sparkline

public Sparkline(java.lang.Iterable<SparklineValue> points)
Method Detail

aSparkline

public static Sparkline aSparkline(java.math.BigDecimal... points)

aSparkline

public static Sparkline aSparkline(SparklineValue... points)

asSvg

public java.lang.String asSvg()

asSvg

public java.lang.String asSvg(SvgDimension width,
                              SvgDimension height)

asSvg

public void asSvg(java.io.Writer writer)
           throws java.io.IOException
Throws:
java.io.IOException

asSvg

public void asSvg(java.io.Writer writer,
                  SvgDimension width,
                  SvgDimension height)
           throws java.io.IOException
Throws:
java.io.IOException