public final class TreemapChartSpec
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Google Sheets API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
TreemapChartSpec() |
Modifier and Type | Method and Description |
---|---|
TreemapChartSpec |
clone() |
ChartData |
getColorData()
The data that determines the background color of each treemap data cell.
|
TreemapChartColorScale |
getColorScale()
The color scale for data cells in the treemap chart.
|
Color |
getHeaderColor()
The background color for header cells.
|
ColorStyle |
getHeaderColorStyle()
The background color for header cells.
|
java.lang.Boolean |
getHideTooltips()
True to hide tooltips.
|
java.lang.Integer |
getHintedLevels()
The number of additional data levels beyond the labeled levels to be shown on the treemap
chart.
|
ChartData |
getLabels()
The data that contains the treemap cell labels.
|
java.lang.Integer |
getLevels()
The number of data levels to show on the treemap chart.
|
java.lang.Double |
getMaxValue()
The maximum possible data value.
|
java.lang.Double |
getMinValue()
The minimum possible data value.
|
ChartData |
getParentLabels()
The data the contains the treemap cells' parent labels.
|
ChartData |
getSizeData()
The data that determines the size of each treemap data cell.
|
TextFormat |
getTextFormat()
The text format for all labels on the chart.
|
TreemapChartSpec |
set(java.lang.String fieldName,
java.lang.Object value) |
TreemapChartSpec |
setColorData(ChartData colorData)
The data that determines the background color of each treemap data cell.
|
TreemapChartSpec |
setColorScale(TreemapChartColorScale colorScale)
The color scale for data cells in the treemap chart.
|
TreemapChartSpec |
setHeaderColor(Color headerColor)
The background color for header cells.
|
TreemapChartSpec |
setHeaderColorStyle(ColorStyle headerColorStyle)
The background color for header cells.
|
TreemapChartSpec |
setHideTooltips(java.lang.Boolean hideTooltips)
True to hide tooltips.
|
TreemapChartSpec |
setHintedLevels(java.lang.Integer hintedLevels)
The number of additional data levels beyond the labeled levels to be shown on the treemap
chart.
|
TreemapChartSpec |
setLabels(ChartData labels)
The data that contains the treemap cell labels.
|
TreemapChartSpec |
setLevels(java.lang.Integer levels)
The number of data levels to show on the treemap chart.
|
TreemapChartSpec |
setMaxValue(java.lang.Double maxValue)
The maximum possible data value.
|
TreemapChartSpec |
setMinValue(java.lang.Double minValue)
The minimum possible data value.
|
TreemapChartSpec |
setParentLabels(ChartData parentLabels)
The data the contains the treemap cells' parent labels.
|
TreemapChartSpec |
setSizeData(ChartData sizeData)
The data that determines the size of each treemap data cell.
|
TreemapChartSpec |
setTextFormat(TextFormat textFormat)
The text format for all labels on the chart.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public ChartData getColorData()
null
for nonepublic TreemapChartSpec setColorData(ChartData colorData)
colorData
- colorData or null
for nonepublic TreemapChartColorScale getColorScale()
null
for nonepublic TreemapChartSpec setColorScale(TreemapChartColorScale colorScale)
colorScale
- colorScale or null
for nonepublic Color getHeaderColor()
null
for nonepublic TreemapChartSpec setHeaderColor(Color headerColor)
headerColor
- headerColor or null
for nonepublic ColorStyle getHeaderColorStyle()
null
for nonepublic TreemapChartSpec setHeaderColorStyle(ColorStyle headerColorStyle)
headerColorStyle
- headerColorStyle or null
for nonepublic java.lang.Boolean getHideTooltips()
null
for nonepublic TreemapChartSpec setHideTooltips(java.lang.Boolean hideTooltips)
hideTooltips
- hideTooltips or null
for nonepublic java.lang.Integer getHintedLevels()
null
for nonepublic TreemapChartSpec setHintedLevels(java.lang.Integer hintedLevels)
hintedLevels
- hintedLevels or null
for nonepublic ChartData getLabels()
null
for nonepublic TreemapChartSpec setLabels(ChartData labels)
labels
- labels or null
for nonepublic java.lang.Integer getLevels()
null
for nonepublic TreemapChartSpec setLevels(java.lang.Integer levels)
levels
- levels or null
for nonepublic java.lang.Double getMaxValue()
null
for nonepublic TreemapChartSpec setMaxValue(java.lang.Double maxValue)
maxValue
- maxValue or null
for nonepublic java.lang.Double getMinValue()
null
for nonepublic TreemapChartSpec setMinValue(java.lang.Double minValue)
minValue
- minValue or null
for nonepublic ChartData getParentLabels()
null
for nonepublic TreemapChartSpec setParentLabels(ChartData parentLabels)
parentLabels
- parentLabels or null
for nonepublic ChartData getSizeData()
null
for nonepublic TreemapChartSpec setSizeData(ChartData sizeData)
sizeData
- sizeData or null
for nonepublic TextFormat getTextFormat()
null
for nonepublic TreemapChartSpec setTextFormat(TextFormat textFormat)
textFormat
- textFormat or null
for nonepublic TreemapChartSpec set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public TreemapChartSpec clone()
clone
in class com.google.api.client.json.GenericJson