karma2014 commented on a change in pull request #11892: fix(pie): Process
series data-Array . close #11247
URL:
https://github.com/apache/incubator-echarts/pull/11892#discussion_r360920946
##########
File path: src/chart/pie/PieSeries.js
##########
@@ -45,6 +48,28 @@ var PieSeries = echarts.extendSeriesModel({
this._defaultLabelLine(option);
},
+ processOptionSeriesValue: function (option) {
+ var data = option.data;
+
+ for(var i = 0; i < data.length; i++){
+ if(data[i].value instanceof Array){
+ //visualMap component fix me
+ // if(data[i].value[0] instanceof Array){
Review comment:
My answer is incorrect.I am trying to fix it.I want sum array value before
compute each Sector ‘s area,please wait for my resubmit.
----------------------------------------------------------------
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]