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
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
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.
|
Boolean |
getHideTooltips()
True to hide tooltips.
|
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.
|
Integer |
getLevels()
The number of data levels to show on the treemap chart.
|
Double |
getMaxValue()
The maximum possible data value.
|
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(String fieldName,
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(Boolean hideTooltips)
True to hide tooltips.
|
TreemapChartSpec |
setHintedLevels(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(Integer levels)
The number of data levels to show on the treemap chart.
|
TreemapChartSpec |
setMaxValue(Double maxValue)
The maximum possible data value.
|
TreemapChartSpec |
setMinValue(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, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
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 Boolean getHideTooltips()
null
for nonepublic TreemapChartSpec setHideTooltips(Boolean hideTooltips)
hideTooltips
- hideTooltips or null
for nonepublic Integer getHintedLevels()
null
for nonepublic TreemapChartSpec setHintedLevels(Integer hintedLevels)
hintedLevels
- hintedLevels or null
for nonepublic ChartData getLabels()
null
for nonepublic TreemapChartSpec setLabels(ChartData labels)
labels
- labels or null
for nonepublic Integer getLevels()
null
for nonepublic TreemapChartSpec setLevels(Integer levels)
levels
- levels or null
for nonepublic Double getMaxValue()
null
for nonepublic TreemapChartSpec setMaxValue(Double maxValue)
maxValue
- maxValue or null
for nonepublic Double getMinValue()
null
for nonepublic TreemapChartSpec setMinValue(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(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public TreemapChartSpec clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.