com.google.gwt.visualization.client.visualizations
Class ImagePieChart.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.ImagePieChart.Options
- Enclosing class:
- ImagePieChart
public static class ImagePieChart.Options
- extends CommonChartOptions
Options for drawing the chart.
Method Summary |
static ImagePieChart.Options |
create()
|
void |
setColor(java.lang.String color)
Specifies a color to use for all charts. |
void |
setIs3D(boolean is3D)
If set to true, displays a three-dimensional chart. |
void |
setLabels(java.lang.String labels)
What label, if any, to show for each slice. |
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 |
ImagePieChart.Options
protected ImagePieChart.Options()
create
public static ImagePieChart.Options create()
setIs3D
public final void setIs3D(boolean is3D)
- If set to true, displays a three-dimensional chart. Default value is
false
.
setColor
public final void setColor(java.lang.String color)
- Specifies a color to use for all charts. Each series will be a gradation
of the color specified. A string in the format #rrggbb. For example:
'#00cc00'. Used only if the
CommonOptions.setColors(com.google.gwt.core.client.JsArrayString)
option isn't specified.
setLabels
public final void setLabels(java.lang.String labels)
- What label, if any, to show for each slice. Choose from the following
values:
- 'none' - No labels.
- 'value' - Use the slice value as a label.
- 'name' - Use the slice name (the column name).