# Google Cloud Chronicle V1 Client - Class ChartConfig (0.4.0)

0.4.0 (latest) 0.3.0 0.2.3 0.1.2 Reference documentation and code samples for the Google Cloud Chronicle V1 Client class ChartConfig.

Configuration of the chart including chart reference, layout and filters.

Generated from protobuf message `google.cloud.chronicle.v1.DashboardDefinition.ChartConfig`

## Namespace

Google \\ Cloud \\ Chronicle \\ V1 \\ DashboardDefinition

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ dashboard_chart` | `string` |
| `↳ chart_layout` | `https://docs.cloud.google.com/php/docs/reference/cloud-chronicle/latest/V1.DashboardDefinition.ChartConfig.ChartLayout` |
| `↳ filters_ids` | `string[]` Dashboard filters applied to the chart. |

### getDashboardChart

Generated from protobuf field `string dashboard_chart = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = {`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setDashboardChart

Generated from protobuf field `string dashboard_chart = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = {`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getChartLayout

Generated from protobuf field `.google.cloud.chronicle.v1.DashboardDefinition.ChartConfig.ChartLayout chart_layout = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-chronicle/latest/V1.DashboardDefinition.ChartConfig.ChartLayout|null` |   |

### hasChartLayout

### clearChartLayout

### setChartLayout

Generated from protobuf field `.google.cloud.chronicle.v1.DashboardDefinition.ChartConfig.ChartLayout chart_layout = 2;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-chronicle/latest/V1.DashboardDefinition.ChartConfig.ChartLayout` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getFiltersIds

Dashboard filters applied to the chart.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setFiltersIds

Dashboard filters applied to the chart.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string[]` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |