raphamorim/origami.js

new line chart API

開放

#40 建立於 2016年9月23日

 (0 則留言) (0 個反應) (0 位負責人)JavaScript (61 個分叉)batch import
Hacktoberfest

倉庫指標

星標
 (757 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

suggestion to work with multline

origami('#canvas').chartLine({
          labels: ["January", "February", "March", "April", "May", "June", "July"],
          datasets: [
                    {
                        data: [65, 59, 80, 81, 56, 30, 60],
                        points: true,
                        pointsColor: "red",
                        line: "1px dashed #000",
                    },
                    {
                        data: [5, 159, 20, 31, 56, 30, 60],
                        points: true,
                        pointsColor: "red",
                        line: "1px dashed #000",
                    }
                ]
                gridLines: {
                    vertical: false,
                    horizontal: false,
                },
}).draw();

貢獻者指南