Skip to content

Instantly share code, notes, and snippets.

@dance2die
Created December 4, 2017 02:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dance2die/b5662196399a477f53e8f8c18d4ed76a to your computer and use it in GitHub Desktop.
Save dance2die/b5662196399a477f53e8f8c18d4ed76a to your computer and use it in GitHub Desktop.
// https://frappe.github.io/charts/
const data = {
labels: [
"12am-3am",
"3am-6am",
"6am-9am",
"9am-12pm",
"12pm-3pm",
"3pm-6pm",
"6pm-9pm",
"9pm-12am"
],
datasets: [
{
title: "Some Data",
values: [25, 40, 30, 35, 8, 52, 17, -4]
},
{
title: "Another Set",
values: [25, 50, -10, 15, 18, 32, 27, 14]
},
{
title: "Yet Another",
values: [15, 20, -3, -15, 58, 12, -17, 37]
}
]
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment