more styling
This commit is contained in:
@@ -99,7 +99,7 @@ h1 {
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
width: 100vw;
|
width: 100vw;
|
||||||
height: 50vh;
|
padding: 50px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.wine-and-highscore-container {
|
.wine-and-highscore-container {
|
||||||
|
|||||||
@@ -18,25 +18,25 @@ export default {
|
|||||||
let blue = {
|
let blue = {
|
||||||
label: "Blå",
|
label: "Blå",
|
||||||
borderColor: "#57d2fb",
|
borderColor: "#57d2fb",
|
||||||
backgroundColor: "#d4f2fe10",
|
backgroundColor: "#d4f2fe",
|
||||||
data: []
|
data: []
|
||||||
};
|
};
|
||||||
let yellow = {
|
let yellow = {
|
||||||
label: "Gul",
|
label: "Gul",
|
||||||
borderColor: "#ffde5d",
|
borderColor: "#ffde5d",
|
||||||
backgroundColor: "#fff6d610",
|
backgroundColor: "#fff6d6",
|
||||||
data: []
|
data: []
|
||||||
};
|
};
|
||||||
let red = {
|
let red = {
|
||||||
label: "Rød",
|
label: "Rød",
|
||||||
borderColor: "#ef5878",
|
borderColor: "#ef5878",
|
||||||
backgroundColor: "#fbd7de10",
|
backgroundColor: "#fbd7de",
|
||||||
data: []
|
data: []
|
||||||
};
|
};
|
||||||
let green = {
|
let green = {
|
||||||
label: "Grønn",
|
label: "Grønn",
|
||||||
borderColor: "#10e783",
|
borderColor: "#10e783",
|
||||||
backgroundColor: "#c8f9df10",
|
backgroundColor: "#c8f9df",
|
||||||
data: []
|
data: []
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -16,25 +16,25 @@ export default {
|
|||||||
let blue = {
|
let blue = {
|
||||||
label: "Blå",
|
label: "Blå",
|
||||||
borderColor: "#57d2fb",
|
borderColor: "#57d2fb",
|
||||||
backgroundColor: "#d4f2fe10",
|
backgroundColor: "#d4f2fe",
|
||||||
data: []
|
data: []
|
||||||
};
|
};
|
||||||
let yellow = {
|
let yellow = {
|
||||||
label: "Gul",
|
label: "Gul",
|
||||||
borderColor: "#ffde5d",
|
borderColor: "#ffde5d",
|
||||||
backgroundColor: "#fff6d610",
|
backgroundColor: "#fff6d6",
|
||||||
data: []
|
data: []
|
||||||
};
|
};
|
||||||
let red = {
|
let red = {
|
||||||
label: "Rød",
|
label: "Rød",
|
||||||
borderColor: "#ef5878",
|
borderColor: "#ef5878",
|
||||||
backgroundColor: "#fbd7de10",
|
backgroundColor: "#fbd7de",
|
||||||
data: []
|
data: []
|
||||||
};
|
};
|
||||||
let green = {
|
let green = {
|
||||||
label: "Grønn",
|
label: "Grønn",
|
||||||
borderColor: "#10e783",
|
borderColor: "#10e783",
|
||||||
backgroundColor: "#c8f9df10",
|
backgroundColor: "#c8f9df",
|
||||||
data: []
|
data: []
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -61,6 +61,7 @@ export default {
|
|||||||
labels: labels,
|
labels: labels,
|
||||||
datasets: datasets
|
datasets: datasets
|
||||||
};
|
};
|
||||||
|
console.log(datasets);
|
||||||
let chart = new Chart(canvas, {
|
let chart = new Chart(canvas, {
|
||||||
type: "bar",
|
type: "bar",
|
||||||
data: chartdata,
|
data: chartdata,
|
||||||
|
|||||||
Reference in New Issue
Block a user