我想使用以下json數據創建角度nvd3多欄圖表。如何使用json數據創建角度nvd3多欄和堆疊圖表
json:
[
{
"ccpProducts": "CME",
"color": "red",
"values": [
{
"dates": "2015-07-01 00:00:00.0",
"noOfTrades": 5281
}
]
},
{
"ccpProducts": "LCH",
"color": "#6b486b",
"values": [
{
"dates": "2015-07-01 00:00:00.0",
"noOfTrades": 5281
}
]
}
]
http://plnkr.co/edit/5VZnILzOI3HRLH1Tu7qh?p=preview。請參閱我可能無法看到圖表的闖入者。 –