# Class VisualMapPiece (0.6.0)

0.6.0 (latest) 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0

    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>

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `min_` | `int` Optional. Minimum value for the piece. This field is a member of `oneof`_ `_min`. |
| `max_` | `int` Optional. Minimum value for the piece. This field is a member of `oneof`_ `_max`. |
| `color` | `str` Optional. Color to render the piece in when the value is between min and max. |
| `label` | `str` Optional. Label used in visual map controller. |