You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@echarts.apache.org by JB Data31 <jb...@gmail.com> on 2021/10/10 13:23:18 UTC

VisualMap & Legend issues

Hi,

I work with *EChart*, and I'm facing 2 issues I can't solve.
The image joined show the test case.

*1/ legend*
    'legend': {
      'show': True,
      'icone': 'triangle'
    },
The default color remind.

*2/ VisualMap*
    'visualMap': {
      'show': True,
      'top': 55,
      'left': 170,
      'dimension': 0,
      'pieces': [{
        'lte': 30,
        'color': 'rgba(255, 175, 200, 0.5)'
      },
      {
        'gt': 31,
        'color': 'rgba(255, 175, 200, 0.9)'
      }]
    },
If I replace 30 by 31 to "join" the render an exception is thrown.

I do a lot of tests, see examples and read docs but I can't find solutions,
so help is welcome.

@*JB*Δ <http://jbigdata.fr/jbigdata/index.html>