com.google.gwt.visualization.client.visualizations
Class ImageSparklineChart.Options

java.lang.Object
  extended by com.google.gwt.core.client.JavaScriptObject
      extended by com.google.gwt.ajaxloader.client.Properties
          extended by com.google.gwt.visualization.client.AbstractDrawOptions
              extended by com.google.gwt.visualization.client.CommonOptions
                  extended by com.google.gwt.visualization.client.CommonChartOptions
                      extended by com.google.gwt.visualization.client.visualizations.ImageSparklineChart.Options
Enclosing class:
ImageSparklineChart

public static class ImageSparklineChart.Options
extends CommonChartOptions

Options for drawing the chart.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gwt.ajaxloader.client.Properties
Properties.TypeException
 
Constructor Summary
protected ImageSparklineChart.Options()
           
 
Method Summary
static ImageSparklineChart.Options create()
           
 void setColor(java.lang.String color)
          Specifies a color to use for all charts.
 void setFill(boolean fill)
           If true, will fill the area below the line in color.
 void setLabelPosition(java.lang.String labelPosition)
          The position of the labels.
 void setLayout(java.lang.String layout)
          Vertical or horizontal layout: 'v' for vertical, 'h' for horizontal.
 void setShowAxisLines(boolean showAxisLines)
          If set to false, removes axis lines and labels.
 void setShowValueLabels(boolean showValueLabels)
          If set to false, removes the labels of the values (the Y axis labels).
 
Methods inherited from class com.google.gwt.visualization.client.CommonChartOptions
setAxisBackgroundColor, setAxisBackgroundColor, setAxisColor, setAxisColor, setAxisFontSize, setLogScale, setMax, setMin, setReverseAxis, setShowCategories, setTitleX, setTitleY
 
Methods inherited from class com.google.gwt.visualization.client.CommonOptions
setBackgroundColor, setBackgroundColor, setBorderColor, setBorderColor, setColors, setColors, setColors, setColors, setEnableTooltip, setFocusBorderColor, setFocusBorderColor, setHeight, setLegend, setLegendBackgroundColor, setLegendBackgroundColor, setLegendFontSize, setLegendTextColor, setLegendTextColor, setSize, setTitle, setTitleColor, setTitleColor, setTitleFontSize, setTooltipHeight, setTooltipWidth, setWidth
 
Methods inherited from class com.google.gwt.ajaxloader.client.Properties
getBoolean, getDate, getNumber, getObject, getString, remove, set, set, set, set, set, typeof
 
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

ImageSparklineChart.Options

protected ImageSparklineChart.Options()
Method Detail

create

public static ImageSparklineChart.Options create()

setColor

public final void setColor(java.lang.String color)
Specifies a color to use for all charts. A string in the format #rrggbb. For example: '#00cc00'. Used only if the CommonOptions.setColors(String...) option isn't specified.


setFill

public final void setFill(boolean fill)

If true, will fill the area below the line in color.

Note: this option is currently broken, but should be fixed soon.


setLabelPosition

public final void setLabelPosition(java.lang.String labelPosition)
The position of the labels. Supported values are 'none', 'left', 'right'.


setLayout

public final void setLayout(java.lang.String layout)
Vertical or horizontal layout: 'v' for vertical, 'h' for horizontal.


setShowAxisLines

public final void setShowAxisLines(boolean showAxisLines)
If set to false, removes axis lines and labels. Default value is true.


setShowValueLabels

public final void setShowValueLabels(boolean showValueLabels)
If set to false, removes the labels of the values (the Y axis labels).