文章列表
lineChart很容易展示如下格式的数据
[{profit:10,expenses:10,amount:10},
{profit:30,expenses:50,amount:30},
{profit:19,expenses:25,amount:83},
{profit:144,expenses:44,amount:44}]
图为3条线分别是profit,expenses和amount.
但是当数据格式为如下格式时:
{'site':'1号','M_1':100,'M_2':100,'M_3':100,'M_4':100,'M_5':100,'M_6':100},
{'site':'2号',' ...