# Class DashboardChart (0.6.0)

0.6.0 (latest) 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0

    DashboardChart(mapping=None, *, ignore_unknown_fields=False, **kwargs)

DashboardChart resource.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `name` | `str` Output only. Name of the dashboardChart. |
| `display_name` | `str` Required. Display name/Title of the dashboardChart visible to users. |
| `description` | `str` Optional. Description of the dashboardChart. |
| `native_dashboard` | `str` Output only. NativeDashboard this chart belongs to. |
| `tile_type` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-chronicle/latest/google.cloud.chronicle_v1.types.TileType` Optional. Type of tile i.e., visualization, button or text. |
| `chart_datasource` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-chronicle/latest/google.cloud.chronicle_v1.types.DashboardChart.ChartDatasource` Optional. Query and datasource used in the chart. Should be empty for Button Tiles. |
| `visualization` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-chronicle/latest/google.cloud.chronicle_v1.types.DashboardChart.Visualization` Required. Depending on tile_type one of below fields will be required. |
| `etag` | `str` Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. |
| `drill_down_config` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-chronicle/latest/google.cloud.chronicle_v1.types.DashboardChart.DrillDownConfig` Optional. Drill down configuration. |
| `tokens` | `MutableSequence[str]` Optional. List of Advanced Filter tokens used in this chart's query (e.g., "hostname", "ip"). This allows the UI to identify dependencies without parsing the query text. The tokens are stored without the wrapping '$' characters. The number of tokens are not expected to be more than 10. |

## Classes

### ChartDatasource

    ChartDatasource(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Datasource of the chart including the query reference and
source name.

### DrillDownConfig

    DrillDownConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Drill down configuration.

### Visualization

    Visualization(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Visualization config for a chart.
<https://echarts.apache.org/en/option.html#series>