Reference documentation and code samples for the Google Cloud Chronicle V1 Client class UserSelectedValues.
User selected color and label for the slice of the chart
Generated from protobuf message google.cloud.chronicle.v1.DashboardChart.Visualization.Series.UserSelectedValues
Namespace
Google \ Cloud \ Chronicle \ V1 \ DashboardChart \ Visualization \ SeriesMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ color |
string
Optional. User specified color of a pie slice |
↳ label |
string
Optional. User specified label for a pie slice |
getColor
Optional. User specified color of a pie slice
| Returns | |
|---|---|
| Type | Description |
string |
|
setColor
Optional. User specified color of a pie slice
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getLabel
Optional. User specified label for a pie slice
| Returns | |
|---|---|
| Type | Description |
string |
|
setLabel
Optional. User specified label for a pie slice
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|