Last active
March 16, 2019 00:23
-
-
Save rwbrockhoff/5920dd0d048afa293e6ff9aaeee827f6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data: { | |
//Bring in data | |
labels: labels.length === data.length ? labels : new Array(data.length).fill("Data"), | |
datasets: [ | |
{label: "Sales", data: data}, | |
{label: "National Average", data: nationalAverageData} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment