sk.baka.webvm.misc
Class BluffGraph

java.lang.Object
  extended by sk.baka.webvm.misc.AbstractGraph
      extended by sk.baka.webvm.misc.BluffGraph

public final class BluffGraph
extends AbstractGraph

Renders a graph using the Bluff javascript rendering engine.

Author:
Martin Vysny

Field Summary
 
Fields inherited from class sk.baka.webvm.misc.AbstractGraph
makeAscending, max, style, values
 
Constructor Summary
BluffGraph(int max, GraphStyle style)
          Creates new graph.
 
Method Summary
 void draw(StringBuilder sb)
          Draws the graph and returns the html code.
 
Methods inherited from class sk.baka.webvm.misc.AbstractGraph
add, draw, fillWithZero
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BluffGraph

public BluffGraph(int max,
                  GraphStyle style)
Creates new graph.

Parameters:
max - the maximum value, ignored.
style - the style.
Method Detail

draw

public void draw(StringBuilder sb)
Description copied from class: AbstractGraph
Draws the graph and returns the html code.

Specified by:
draw in class AbstractGraph
Parameters:
sb - draw the graph here


Copyright © 2010 Baka. All Rights Reserved.