com.google.gwt.visualization.client.visualizations
Class ImageBarChart.Options
java.lang.Object
com.google.gwt.core.client.JavaScriptObject
com.google.gwt.ajaxloader.client.Properties
com.google.gwt.visualization.client.AbstractDrawOptions
com.google.gwt.visualization.client.CommonOptions
com.google.gwt.visualization.client.CommonChartOptions
com.google.gwt.visualization.client.visualizations.ImageBarChart.Options
- Enclosing class:
- ImageBarChart
public static class ImageBarChart.Options
- extends CommonChartOptions
Options for drawing the chart.
Method Summary |
static ImageBarChart.Options |
create()
|
void |
setIsStacked(boolean isStacked)
Controls whether multiple data columns will be displayed as stacked (as
opposed to grouped) bars. |
void |
setIsVertical(boolean isVertical)
Controls whether the bars will be vertical. |
void |
setShowCategoryLabels(boolean showCategoryLabels)
If set to false , removes the labels of the categories (the X
axis labels). |
void |
setShowValueLabels(boolean showValueLabels)
If set to false , removes the labels of the values (the Y
axis labels). |
void |
setValueLabelsInterval(double valueLabelsInterval)
The interval at which to show value 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 |
ImageBarChart.Options
protected ImageBarChart.Options()
create
public static ImageBarChart.Options create()
setIsStacked
public final void setIsStacked(boolean isStacked)
- Controls whether multiple data columns will be displayed as stacked (as
opposed to grouped) bars. Default value is
true
.
setIsVertical
public final void setIsVertical(boolean isVertical)
- Controls whether the bars will be vertical. Default value is
false
.
setShowCategoryLabels
public final void setShowCategoryLabels(boolean showCategoryLabels)
- If set to
false
, removes the labels of the categories (the X
axis labels).
setShowValueLabels
public final void setShowValueLabels(boolean showValueLabels)
- If set to
false
, removes the labels of the values (the Y
axis labels).
setValueLabelsInterval
public final void setValueLabelsInterval(double valueLabelsInterval)
- The interval at which to show value axis labels. For example, if min is
0, max is 100, and valueLabelsInterval is 20, the chart will show axis
labels at (0, 20, 40, 60, 80 100).