You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2021/02/25 05:50:29 UTC

[GitHub] [echarts] 94385605 opened a new issue #14346: VisualMap 在多个series下设置错误

94385605 opened a new issue #14346:
URL: https://github.com/apache/echarts/issues/14346


   ### Version
   5.0.2
   
   ### Reproduction link
   [https://www.makeapie.com/editor.html?c=xtk0VJl99N&v=1](https://www.makeapie.com/editor.html?c=xtk0VJl99N&v=1)
   
   ### Steps to reproduce
   
   ```
   option = {
       legend: {},
       tooltip: {},
   	dataset: {
   	    source: [
   		    ['product', '2012', '2013', '2014', '2015'],
   		    ['Matcha Latte', 41.1, 30.4, 65.1, 53.3],
   		    ['Milk Tea', 86.5, 92.1, 85.7, 83.1],
   		    ['Cheese Cocoa', 24.1, 67.2, 79.5, 86.4],
   	    ],
   	},
   	xAxis: [{ type: 'category' }],
   	yAxis: [{
   		gridIndex: 0,
   		splitNumber: 5,
   	}],
   	series: [
   		{ type: 'bar' },
   		{ type: 'bar' },
   	],
   	visualMap: [
   		{
   			type: 'piecewise',
   			dimension: 2,
   			outOfRange: { color: '#5470c6' },
   			pieces: [
   				{ lt: 40, color: 'yellow' },
   			],
   		},
   	],
   };
   ```
   
   ### What is expected?
   小于40的柱子颜色为黄色
   
   ### What is actually happening?
   同series的柱子大于40的也为黄色了
   
   <!-- This issue is generated by echarts-issue-helper. 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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [echarts] echarts-bot[bot] commented on issue #14346: VisualMap 在多个series下设置错误

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #14346:
URL: https://github.com/apache/echarts/issues/14346#issuecomment-785631812






----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org