raphamorim/origami.js

new line chart API

オープン

#40 opened on 2016/09/23

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)JavaScript (61 件のフォーク)batch import
Hacktoberfest

Repository metrics

Stars
 (757 個のスター)
PR merge metrics
 (30d に merged 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();

コントリビューターガイド