public final class XyChart 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 Cloud Monitoring 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 |
|---|
XyChart() |
| Modifier and Type | Method and Description |
|---|---|
XyChart |
clone() |
ChartOptions |
getChartOptions()
Display options for the chart.
|
List<DataSet> |
getDataSets()
Required.
|
List<Threshold> |
getThresholds()
Threshold lines drawn horizontally across the chart.
|
String |
getTimeshiftDuration()
The duration used to display a comparison chart.
|
Axis |
getXAxis()
The properties applied to the X axis.
|
Axis |
getYAxis()
The properties applied to the Y axis.
|
XyChart |
set(String fieldName,
Object value) |
XyChart |
setChartOptions(ChartOptions chartOptions)
Display options for the chart.
|
XyChart |
setDataSets(List<DataSet> dataSets)
Required.
|
XyChart |
setThresholds(List<Threshold> thresholds)
Threshold lines drawn horizontally across the chart.
|
XyChart |
setTimeshiftDuration(String timeshiftDuration)
The duration used to display a comparison chart.
|
XyChart |
setXAxis(Axis xAxis)
The properties applied to the X axis.
|
XyChart |
setYAxis(Axis yAxis)
The properties applied to the Y axis.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic ChartOptions getChartOptions()
null for nonepublic XyChart setChartOptions(ChartOptions chartOptions)
chartOptions - chartOptions or null for nonepublic List<DataSet> getDataSets()
null for nonepublic XyChart setDataSets(List<DataSet> dataSets)
dataSets - dataSets or null for nonepublic List<Threshold> getThresholds()
null for nonepublic XyChart setThresholds(List<Threshold> thresholds)
thresholds - thresholds or null for nonepublic String getTimeshiftDuration()
null for nonepublic XyChart setTimeshiftDuration(String timeshiftDuration)
timeshiftDuration - timeshiftDuration or null for nonepublic Axis getXAxis()
null for nonepublic XyChart setXAxis(Axis xAxis)
xAxis - xAxis or null for nonepublic Axis getYAxis()
null for nonepublic XyChart setYAxis(Axis yAxis)
yAxis - yAxis or null for nonepublic XyChart set(String fieldName, Object value)
set in class GenericJsonpublic XyChart clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.