Increased the size of legend title and made the legend labels round.

This commit is contained in:
2020-01-23 09:30:43 +01:00
parent 60d3f4de85
commit 98c03ec24e
3 changed files with 13 additions and 9 deletions

View File

@@ -191,10 +191,12 @@ h1 {
}
.chart-container {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding-top: 0;
margin-top: 30px;
}
.outer {

View File

@@ -83,7 +83,8 @@ export default {
maintainAspectRatio: false,
title: {
display: true,
text: "Antall kjøp"
text: "Antall vinn",
fontSize: 20,
},
legend: {
display: true,
@@ -91,9 +92,9 @@ export default {
usePointStyle: true,
borderRadius: 10,
labels: {
// This more specific font property overrides the global property
defaultFontFamily: (Chart.defaults.global.defaultFontFamily =
"'knowit'")
padding: 12,
boxWidth: 20,
usePointStyle: true
}
},
scales: {

View File

@@ -73,13 +73,14 @@ export default {
maintainAspectRatio: false,
title: {
display: true,
text: "Antall vinn"
text: "Antall vinn",
fontSize: 20,
},
legend: {
labels: {
// This more specific font property overrides the global property
defaultFontFamily: (Chart.defaults.global.defaultFontFamily =
"'knowit'")
padding: 12,
boxWidth: 20,
usePointStyle: true
}
},
scales: {