Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

new line chart API #40

Open
raphamorim opened this issue Sep 23, 2016 · 0 comments
Open

new line chart API #40

raphamorim opened this issue Sep 23, 2016 · 0 comments

Comments

@raphamorim
Copy link
Owner

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();
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant