1
0
mirror of https://github.com/mgerb/mywebsite synced 2026-01-12 10:52:47 +00:00
Files
mywebsite/client/js/components/sensors/chartOptions.js
2016-09-16 20:39:41 +00:00

30 lines
852 B
JavaScript

export const ChartOptions = {
responsive: true,
// scaleOverride: true,
//scaleSteps: 20,
// scaleStartValue: 0,
//scaleStepWidth: 5
};
export let DataTemplate = {
labels: [],
datasets: [{
label: "Max Temperature °F",
fillColor: "rgba(220,220,220,0.2)",
strokeColor: "rgba(220,220,220,1)",
pointColor: "rgba(220,220,220,1)",
pointStrokeColor: "#fff",
pointHighlightFill: "#fff",
pointHighlightStroke: "rgba(220,220,220,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: []
}]
};