Skip to content

visualMap issues when map and line series are used together  #3544

@jarben

Description

@jarben

Version: 3.2.0

One of these errors are shown when defining multiple visual maps as visualMap:[..]

image

I've reproduced this on this example: http://echarts.baidu.com/demo.html#map-china-dataRange

when using multiple map series + line series (visual-map-error.js attached inside
visual-map-issue.zip)

image

I'm defining multiple visual maps so I can style them differenlty:
image

However, If I add the line series, the error occurs.

It can be fixed by defining one visual map only (visual-map-working.js attached inside
visual-map-issue.zip)

image

However, the line gets also styled as per visualMap settings:

image

In 3.1.x, it was possible to define visual maps for specific series where undefined series worked as when visual map is not supported (can style them)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions