Reference documentation and code samples for the Google Cloud Chronicle V1 Client class MetricTrendConfig.
Metric trend config for displaying trend value in Metrics chart
Generated from protobuf message google.cloud.chronicle.v1.DashboardChart.Visualization.Series.MetricTrendConfig
Namespace
Google \ Cloud \ Chronicle \ V1 \ DashboardChart \ Visualization \ SeriesMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ metric_format |
int
Optional. Metric chart configuration to display metric trend |
↳ show_metric_trend |
bool
Optional. Metric chart configuration to toggle the trend value display |
↳ metric_display_trend |
int
Optional. Metric chart configuration to display the trend value |
↳ metric_trend_type |
int
Optional. Metric chart configuration to display trend type whether regular or inverse |
getMetricFormat
Optional. Metric chart configuration to display metric trend
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type MetricFormat. |
setMetricFormat
Optional. Metric chart configuration to display metric trend
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type MetricFormat. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getShowMetricTrend
Optional. Metric chart configuration to toggle the trend value display
| Returns | |
|---|---|
| Type | Description |
bool |
|
setShowMetricTrend
Optional. Metric chart configuration to toggle the trend value display
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getMetricDisplayTrend
Optional. Metric chart configuration to display the trend value
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type MetricDisplayTrend. |
setMetricDisplayTrend
Optional. Metric chart configuration to display the trend value
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type MetricDisplayTrend. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getMetricTrendType
Optional. Metric chart configuration to display trend type whether regular or inverse
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type MetricTrendType. |
setMetricTrendType
Optional. Metric chart configuration to display trend type whether regular or inverse
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type MetricTrendType. |
| Returns | |
|---|---|
| Type | Description |
$this |
|