849430904 opened a new issue #10271: 当有多个markPoint时,如何控制每一个气泡的颜色? URL: https://github.com/apache/incubator-echarts/issues/10271 markPoint: { symbolSize: 30,//大小 type: 'triangle',//汽泡形态 itemStyle: { normal: { label: { show: true, position: 'top', formatter: function (param) { if (param.value == 1) return 'S'; else return 'B'; } }, // color:'skyblue'//标记气泡颜色 color: 'green'//标记气泡颜色 }, }, data: [ {name: '最高', value: 1, xAxis: '2016-12-13', yAxis: 19}, {name: '最高', value: 0, xAxis: '2016-12-22', yAxis: 17.65} ] } 比如,怎么让第一个提示所泡显示红色,第二个气泡显示绿色?
---------------------------------------------------------------- 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] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
