我有两个数据集,想用它们在 amCharts Stock Chart 中显示折线图。这是小提琴。它仅显示来自第一个数据集的数据。
"stockGraphs": [
{
"id": "g1",
"title": "Graph #1",
"lineThickness": 2,
"valueField": "value1",
"useDataSetColors": false,
"valueAxis" : "axis1",
},
{
"id": "g2",
"title": "Graph #2",
"lineThickness": 5,
"valueField": "value2",
"useDataSetColors": false,
"connect" : false,
"valueAxis" : "axis2"
}
https://jsfiddle.net/a0p3vm8r/1/
我确信某处缺少一个简单的 JSON 配置。有人可以帮我吗?