1.数据排序:(展示玫瑰状)
data: [ { value: 100, name: 'Direct' }, { value: 300, name: 'Email' }, { value: 400, name: 'Union Ads' }, { value: 200, name: 'Video Ads' }, { value: 500, name: 'Search Engine' } ].sort(function (a, b) { return a.value - b.value; }),
标签:知识点,name,Union,value,玫瑰,Ads From: https://www.cnblogs.com/Simoon/p/16735812.html