在此示例之后,我嘗試使用C3.js創(chuàng)建時(shí)間序列圖,但是生成的圖會(huì)創(chuàng)建黑色svg填充,這并不是我想要的。如何將fill屬性設(shè)置為none?請(qǐng)參閱的代碼stackblitz.com。import * as c3 from 'c3';const appDiv = document.getElementById('#app');c3.generate({ bindto: appDiv, data: { x: 'x', columns: [ ['x', '2013-01-01', '2013-01-02', '2013-01-03', '2013-01-04', '2013-01-05', '2013-01-06'], ['data', 130, 340, 200, 500, 250, 350] ] }, axis: { x: { type: 'timeseries', tick: { format: '%Y-%m-%d' } } }});<div id="app"></div>
刪除C3.js時(shí)間序列圖中的黑色SVG填充
有只小跳蛙
2021-04-17 19:15:53