Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在 C3 中创建一个堆积条形图,但在 CSV 中读取 url:“data.csv”
我不确定该功能是否存在,或者我是否需要为此转换 JSON 格式的 CSV?
谢谢!
你不需要转换。C3 支持这一点。
来自http://c3js.org/samples/data_url.html的示例
var chart = c3.generate({ data: { url: '/data/c3_test.csv' } });