1
0
mirror of https://github.com/mgerb/mywebsite synced 2026-01-10 09:52:51 +00:00
Files
mywebsite/client/js/components/sensors/chartOptions.js
2016-12-19 05:21:45 +01:00

30 lines
846 B
JavaScript

export const ChartOptions = {
responsive: true,
scaleOverride: true,
scaleStartValue: -10,
scaleSteps: 11,
scaleStepWidth: 10,
};
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: []
}]
};