raphamorim/origami.js

new line chart API

Offen

#40 geöffnet am 23.09.2016

 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (61 Forks)batch import
Hacktoberfest

Repository-Metriken

Stars
 (757 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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

Contributor Guide