Reference documentation and code samples for the Google Cloud Chronicle V1 Client class ItemColors.
Field to be saved for retrieving slice colors for the chart
Generated from protobuf message google.cloud.chronicle.v1.DashboardChart.Visualization.Series.ItemColors
Namespace
Google \ Cloud \ Chronicle \ V1 \ DashboardChart \ Visualization \ SeriesMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ colors |
array<ChartSliceColor>
Optional. Slice colors array |
getColors
Optional. Slice colors array
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<ChartSliceColor> |
|
setColors
Optional. Slice colors array
| Parameter | |
|---|---|
| Name | Description |
var |
array<ChartSliceColor>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|