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();

贡献者指南