raphamorim/origami.js

new line chart API

Aperta

#40 aperta il 23 set 2016

 (0 commenti) (0 reazioni) (0 assegnatari)JavaScript (61 fork)batch import
Hacktoberfest

Metriche repository

Star
 (757 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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

Guida contributor