在我的 StockChart 中,我想选择所有数据集,但它只是绑定了第一个数据集项(Anadolu YK)。
我该怎么做才能选择其他人?(Avrupa YK) (布尔萨) (安塔利亚)..
dataSets: [{
title: "Anadolu YK",
fieldMappings: [{
fromField: "value",
toField: "value"
}, {
fromField: "volume",
toField: "volume"
}],
dataProvider: chartData1,
categoryField: "date"
},
{
title: "Avrupa YK",
fieldMappings: [{
fromField: "value",
toField: "value"
}, {
fromField: "volume",
toField: "volume"
}],
dataProvider: chartData2,
categoryField: "date"
},