至於要怎麼設定這個 line 也很簡單, D3 都幫你做好好了只要呼叫API 即可,正常來說寫法 ... data.series.map(el => ({ label: data.name, name: parseDate(el.name), ...
確定! 回上一頁