public final class TreemapChartColorScale extends 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
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
TreemapChartColorScale() |
| Modifier and Type | Method and Description |
|---|---|
TreemapChartColorScale |
clone() |
Color |
getMaxValueColor()
The background color for cells with a color value greater than or equal to maxValue.
|
Color |
getMidValueColor()
The background color for cells with a color value at the midpoint between minValue and
maxValue.
|
Color |
getMinValueColor()
The background color for cells with a color value less than or equal to minValue.
|
Color |
getNoDataColor()
The background color for cells that have no color data associated with them.
|
TreemapChartColorScale |
set(String fieldName,
Object value) |
TreemapChartColorScale |
setMaxValueColor(Color maxValueColor)
The background color for cells with a color value greater than or equal to maxValue.
|
TreemapChartColorScale |
setMidValueColor(Color midValueColor)
The background color for cells with a color value at the midpoint between minValue and
maxValue.
|
TreemapChartColorScale |
setMinValueColor(Color minValueColor)
The background color for cells with a color value less than or equal to minValue.
|
TreemapChartColorScale |
setNoDataColor(Color noDataColor)
The background color for cells that have no color data associated with them.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic Color getMaxValueColor()
null for nonepublic TreemapChartColorScale setMaxValueColor(Color maxValueColor)
maxValueColor - maxValueColor or null for nonepublic Color getMidValueColor()
null for nonepublic TreemapChartColorScale setMidValueColor(Color midValueColor)
midValueColor - midValueColor or null for nonepublic Color getMinValueColor()
null for nonepublic TreemapChartColorScale setMinValueColor(Color minValueColor)
minValueColor - minValueColor or null for nonepublic Color getNoDataColor()
null for nonepublic TreemapChartColorScale setNoDataColor(Color noDataColor)
noDataColor - noDataColor or null for nonepublic TreemapChartColorScale set(String fieldName, Object value)
set in class GenericJsonpublic TreemapChartColorScale clone()
clone in class GenericJsonCopyright © 2011–2019 Google. All rights reserved.