Increased the size of legend title and made the legend labels round.
This commit is contained in:
@@ -191,10 +191,12 @@ h1 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.chart-container {
|
.chart-container {
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
|
padding-top: 0;
|
||||||
|
margin-top: 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.outer {
|
.outer {
|
||||||
|
|||||||
@@ -83,7 +83,8 @@ export default {
|
|||||||
maintainAspectRatio: false,
|
maintainAspectRatio: false,
|
||||||
title: {
|
title: {
|
||||||
display: true,
|
display: true,
|
||||||
text: "Antall kjøp"
|
text: "Antall vinn",
|
||||||
|
fontSize: 20,
|
||||||
},
|
},
|
||||||
legend: {
|
legend: {
|
||||||
display: true,
|
display: true,
|
||||||
@@ -91,9 +92,9 @@ export default {
|
|||||||
usePointStyle: true,
|
usePointStyle: true,
|
||||||
borderRadius: 10,
|
borderRadius: 10,
|
||||||
labels: {
|
labels: {
|
||||||
// This more specific font property overrides the global property
|
padding: 12,
|
||||||
defaultFontFamily: (Chart.defaults.global.defaultFontFamily =
|
boxWidth: 20,
|
||||||
"'knowit'")
|
usePointStyle: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
scales: {
|
scales: {
|
||||||
|
|||||||
@@ -73,13 +73,14 @@ export default {
|
|||||||
maintainAspectRatio: false,
|
maintainAspectRatio: false,
|
||||||
title: {
|
title: {
|
||||||
display: true,
|
display: true,
|
||||||
text: "Antall vinn"
|
text: "Antall vinn",
|
||||||
|
fontSize: 20,
|
||||||
},
|
},
|
||||||
legend: {
|
legend: {
|
||||||
labels: {
|
labels: {
|
||||||
// This more specific font property overrides the global property
|
padding: 12,
|
||||||
defaultFontFamily: (Chart.defaults.global.defaultFontFamily =
|
boxWidth: 20,
|
||||||
"'knowit'")
|
usePointStyle: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
scales: {
|
scales: {
|
||||||
|
|||||||
Reference in New Issue
Block a user