Class VisualMapPiece (0.6.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.