I have tried building a loop within the call, I have also tried string building the definition but it doesn't seem to like that solution either(I might of implemented this incorrectly though.) Thanks ahead for your help.推荐答案我知道了.设置数据:dataVariable并按以下方式定义dataVariable:set data: dataVariable and define dataVariable like this:for (var i = 0; i < json.Slices.length; i++) { dataVariable.push({ category: json.Slices[i].Ch, value: parseFloat(json.Slices[i].val) }); }; 这篇关于通过遍历json数据来构建剑道图的系列?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 11-01 00:07