simogeo opened a new issue #14874:
URL: https://github.com/apache/echarts/issues/14874


   ### Version
   5.1.1
   
   ### Steps to reproduce
   I generate a map with echarts.
   
   I'm able to pickup 0 values to colorize them in gray using visualMap 
property combined with inRange min, max, outOfRange options.
   
   The wanted result is almost there !
   See result at the bottom of the following page : 
https://enzo.intermezzo-coop.eu/?epci=244900015#carto
   
   But I'd like to display elements with 0 values with stripes / pattern - now 
in gray on the screenshot. How can I achieve this with echarts ?
   
   Example of wanted pattern : 
https://thumbnail.imgbin.com/15/12/10/imgbin-black-diagonal-stripes-DL5WMsescGyWyxTR74KAbWT7K_t.jpg
   
   I had a look on following documentation - and tried some code with no 
success :
   
       https://echarts.apache.org/en/option.html#visualMap
       https://echarts.apache.org/en/option.html#aria.decal
       https://echarts.apache.org/examples/en/editor.html?c=pie-pattern
   
   ### What is expected?
   I had a look on following documentation - and tried some code with no 
success :
   
       https://echarts.apache.org/en/option.html#visualMap
       https://echarts.apache.org/en/option.html#aria.decal
       https://echarts.apache.org/examples/en/editor.html?c=pie-pattern
   
   My visualMap configuration part is as follow :
   
   ### What is actually happening?
   I'm not able to get stripes !
   
   ---
   My visualMap configuration part is as follow :
   
   ```javascript
      visualMap : {
                   type: 'continuous', 
                   left : 'right',
                   top : 'center',
                   min : 469,
                   max : 144464,
                   inRange : {
                       color : colors
                   },
                   outOfRange: {
                       color:'#f4f4f4'
                   },
                   text : [ 'Haute', 'Faible' ],
                   calculable : true
               },
   ```
   
   Additional need : I'd also be happy to be able to see outOfRange in legend.
   
   By the way, since there is no echarts community on SE, there is no support 
on using echarts ! That's really pity !
   See : 
https://stackoverflow.com/questions/67399344/echarts-ability-to-add-texture-stripes-on-map
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   <!-- This issue is in English. DO NOT REMOVE -->


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to