1
0
mirror of https://github.com/mgerb/mywebsite synced 2026-03-05 15:55:25 +00:00

almost finished with chart

This commit is contained in:
2016-09-16 19:02:38 +00:00
parent 922e3c9cef
commit 5e5db2698d
9 changed files with 113 additions and 58 deletions

View File

@@ -0,0 +1,30 @@
export const Options = {
responsive: true,
scaleOverride: true,
scaleSteps: 20,
scaleStartValue: 0,
scaleStepWidth: 5
};
export let Data = {
labels: [],
datasets: [{
label: "Max Temperature °F",
fillColor: "rgba(255,100,100,0)",
strokeColor: "rgba(255,100,100,1)",
pointColor: "rgba(255,100,100,1)",
pointStrokeColor: "#fff",
pointHighlightFill: "#fff",
pointHighlightStroke: "rgba(255,100,100,1)",
data: []
}, {
label: "Min Temperature °F",
fillColor: "rgba(151,187,205,0)",
strokeColor: "rgba(151,187,205,1)",
pointColor: "rgba(151,187,205,1)",
pointStrokeColor: "#fff",
pointHighlightFill: "#fff",
pointHighlightStroke: "rgba(151,187,205,1)",
data: []
}]
};