# Class VisualMap (0.6.0)

0.6.0 (latest) 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0

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

Conveys what range of values should be rendered in what color. This
field is used when threshold_coloring_enabled is true.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `visual_map_type` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-chronicle/latest/google.cloud.chronicle_v1.types.VisualMapType` Optional. Contains one of the valid visual map types such as 'continuous' or 'piecewise'. |
| `pieces` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/google-cloud-chronicle/latest/google.cloud.chronicle_v1.types.DashboardChart.Visualization.VisualMap.VisualMapPiece]` Optional. Pieces of the visual map. |

## Classes

### VisualMapPiece

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

An ECharts visual map of type 'piecewise' contain many
pieces. Each piece has a min, max, and color with which it's
rendered.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>