echarts-bot[bot] commented on issue #20892: URL: https://github.com/apache/echarts/issues/20892#issuecomment-2775125300
@minren118 It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗 <details><summary><b>TRANSLATED</b></summary><br> **TITLE** [Bug] Shaded maps have no matches, and the map has a blue background **BODY** ### Version 5.6.0 ### Link to Minimal Reproduction no ### Steps to Reproduce The following picture is the coloring map generated by ECharts5.6 mapping, when my data source does not have a corresponding province, it will appear blue,  In the previous version of 530, it was normal, as shown in the following figure:  The following configuration items are available for the option: `var option ={ "isEnableChangeProject": true, "projection": null, "chartType": "ECharts", "chartWidth": 750, "chartHeight": 500, "isFullScreen": false, "isSvgRender": true, "backgroundColor": "transparent", "title": { "text": "" }, "toolbox": { "show": false, "right": 20, "feature": { "saveAsImage": { "type": "png", "title": "Export Image" } } }, "dataset": { "source": [ [ "Province", Numeric ], [ "Taiwan", 56.11 ], [ "Hebei", 16.12 ], [ "Shanxi", 29.14 ], [ "Inner Mongolia", 29.07 ], [ "Liaoning", 14.66 ], [ "Jilin", 18.28 ], [ "Heilongjiang", 17.86 ], [ "Jiangsu", 11.39 ], [ "Zhejiang", 96.88 ] ] }, "tooltip": { "textStyle": { "fontSize": 14.0 }, "trigger": "item", "formatter": //startFunction function(paras){ return'province:'+paras.data[0] +'<br/>'+.} 'Value:'+formatNumWithThousands(Number((paras.data[1]/1).toFixed(0)))} //endFunction }, "series": [ { "name": "series", "type": "map", "roam": true, "map": "China", "labelLayout": { "hideOverlap": true }, "label": { "show": true, "fontSize": 12.0, "formatter": //startFunction function (paras) { if (paras.data != null) { return paras.data[0] != null ? paras.data[0] : ""; } } //endFunction } } ], "visualMap": { "show": true, "orient": "vertical", "left": "10%", "bottom": "10%", "precision": 0.0, "itemHeight": 140.0, "align": "left", "type": "continuous", "min": 11.39, "max": 96.88, "realtime": true, "calculable": true, "inRange": { "color": [ "#FFFFD9", "#EDF8B1", "#C7E9B4", "#7FCDBB", "#41B6C4", "#1D91C0", "#225EA8" ] }, "textStyle": { "fontSize": 14 }, "splitNumber": 7, "text": [ "High", "Low" ] } }; ` ### Current Behavior ECharts 5.6 will render no nodes on dataset.source and no geojson on the map, which will be displayed as NAN and the map basemap color will be blue ### Expected Behavior It should be like the previous version, if it can't be matched, there should not be the shape in the map layer, and the configuration background color of the map basemap can be displayed directly. In the old version, the tooltip was moved to these non-existent areas without prompting, and the new version prompted the NAN ### Environment ```markdown - OS: - Browser: - Framework: ``` ### Any additional comments? _No response_ </details> -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
