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 2019/12/23 15:27:41 UTC

[GitHub] [incubator-echarts] karma2014 commented on a change in pull request #11892: fix(pie): Process series data-Array . close #11247

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


With regards,
Apache Git Services

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