com.google.gwt.visualization.client.visualizations
Class ImageChart.AnnotationColumn

java.lang.Object
  extended by com.google.gwt.core.client.JavaScriptObject
      extended by com.google.gwt.visualization.client.visualizations.ImageChart.AnnotationColumn
Enclosing class:
ImageChart

public static class ImageChart.AnnotationColumn
extends com.google.gwt.core.client.JavaScriptObject

Specification for how the visualization should display a column in the data table as annotations on the chart.


Nested Class Summary
static class ImageChart.AnnotationColumn.Priority
          Whether the annotation should be drawn in front of or behind other chart elements.
 
Constructor Summary
protected ImageChart.AnnotationColumn()
           
 
Method Summary
static ImageChart.AnnotationColumn create(int index, int size)
           
 void setColor(java.lang.String color)
           
 void setDrawFlag(boolean draw)
          If true, the annotation is drawn in a flag.
 void setPositionColumn(int index)
           
 void setPriority(ImageChart.AnnotationColumn.Priority priority)
           
 
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

ImageChart.AnnotationColumn

protected ImageChart.AnnotationColumn()
Method Detail

create

public static ImageChart.AnnotationColumn create(int index,
                                                 int size)

setColor

public final void setColor(java.lang.String color)

setDrawFlag

public final void setDrawFlag(boolean draw)
If true, the annotation is drawn in a flag. Otherwise, the annotation is drawn as plain text.

Parameters:
draw - Whether to draw a flag around the annotations.

setPositionColumn

public final void setPositionColumn(int index)

setPriority

public final void setPriority(ImageChart.AnnotationColumn.Priority priority)