com.google.gwt.visualization.client.formatters
Class BarFormat

java.lang.Object
  extended by com.google.gwt.core.client.JavaScriptObject
      extended by com.google.gwt.visualization.client.formatters.BarFormat

public class BarFormat
extends com.google.gwt.core.client.JavaScriptObject

Adds a colored bar to a numeric cell indicating whether the cell value is above or below a specified base value.

See Also:
BarFormat Reference.< /a>

Nested Class Summary
static class BarFormat.Color
          BarFormat supports three colors for drawing the bar.
static class BarFormat.Options
          Options to configure the formatter.
 
Constructor Summary
protected BarFormat()
           
 
Method Summary
static BarFormat create(BarFormat.Options options)
           
 void format(DataTable data, int columnIndex)
           
 
Methods inherited from class com.google.gwt.core.client.JavaScriptObject
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BarFormat

protected BarFormat()
Method Detail

create

public static BarFormat create(BarFormat.Options options)

format

public final void format(DataTable data,
                         int columnIndex)