下面是我的数据。借助此数据,我想在不使用scaleTime的情况下创建多线图。
let data = [{
"Transaction Period": "2018-09-11T18:30:00.000Z"
"Total Receipts":4000,
"Total Payment" : 4000
},{
"Transaction Period": "2018-10-03T18:30:00.000Z",
"Total Receipts": 1000,
"Total Payment" :6000
},{
"Transaction Period": "2018-10-02T18:30:00.000Z"
"Total Receipts": 8000,
"Total Payment" :20000
},{
"Transaction Period": "2018-10-07T18:30:00.000Z",
"Total Receipts": 4000,
"Total Payment" :10000
},{
"Transaction Period": "2018-10-04T18:30:00.000Z",
"Total Receipts": 12000,
"Total Payment": 12000}]