How do I adjust the font size of the label or place a line break? The text is not fully fit, so 1080 monitor fits, but 720 happens that.
Mycode:
<script>varmyChartcaixa=newChart(document.getElementById("caixa-chart"), {
type: 'pie',
data: {
labels: @Html.Raw(Json.Encode(Model.Select(x => x.Descricao).ToArray())),
datasets: [{
data: @Html.Raw(Json.Encode(Model.Select(x => x.Valor).ToArray())),
backgroundColor: backgroudColor,
borderWidth: 1,
}]
},
options: {
legend: false,
}
}); </script>