UI cleanup: Moved Pie chart legends from top to the right

This commit is contained in:
johnnyq
2021-04-14 15:59:32 -04:00
parent 38da1dbefd
commit da038abba0

View File

@@ -705,6 +705,12 @@ var myPieChart = new Chart(ctx, {
], ],
}], }],
}, },
options: {
legend: {
display: true,
position: 'right'
}
}
}); });
// Set new default font family and font color to mimic Bootstrap's default styling // Set new default font family and font color to mimic Bootstrap's default styling
@@ -756,6 +762,12 @@ var myPieChart = new Chart(ctx, {
], ],
}], }],
}, },
options: {
legend: {
display: true,
position: 'right'
}
}
}); });
// Pie Chart Example // Pie Chart Example
@@ -803,6 +815,12 @@ var myPieChart = new Chart(ctx, {
], ],
}], }],
}, },
options: {
legend: {
display: true,
position: 'right'
}
}
}); });
</script> </script>