score:6
Accepted answer
In V3 they introduced a font
object instead of separate propperties so you will have to put it like this:
r: {
pointLabels: {
font: {
size: 100
}
}
}
Example:
var options = {
type: 'radar',
data: {
labels: ["Red", "Blue", "Yellow", "Green", "Purple", "Orange"],
datasets: [{
label: '# of Votes',
data: [12, 19, 3, 5, 2, 3],
borderWidth: 1
}]
},
options: {
scales: {
r: {
pointLabels: {
font: {
size: 100
}
}
}
}
}
}
var ctx = document.getElementById('chartJSContainer').getContext('2d');
new Chart(ctx, options);
<body>
<canvas id="chartJSContainer" width="600" height="400"></canvas>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/3.2.0/chart.js"></script>
</body>
Font documentation: https://www.chartjs.org/docs/latest/general/fonts.html
Source: stackoverflow.com
Related Query
- ChartJS V3 Radar chart Label Font Size
- Chart.js Radar chart legend label font size doesn't work
- chart.js change size of label of radar chart
- Set fixed label size for grouped bar chart in angular Chartjs
- How to scale label size radar chart chart.js
- Chart.js axes label font size
- ChartJS - Draw chart with label by month, data by day
- chartjs datalabels change font and color of text displaying inside pie chart
- show label in tooltip but not in x axis for chartjs line chart
- Can I specify a different font size for each row of text in Chart Title?
- ChartJS - Line Chart with different size datasets
- ChartJS Radar Chart radar lines color?
- How to Increase the label font size and decrease the size of my pie using chart.js?
- Custom data in label on ChartJS pie chart
- Chartjs 3.5.0 - Radar Chart - Converting the labels to images
- How to change ChartJS font size with javascript?
- ChartJS - radar chart options not working
- Chartjs - Donut Chart label for small values not visible
- chartJS label on each side of the chart
- Chartjs - Add backgroundColor for labels radar chart
- ChartJS and Radar Chart animation
- Is there any way to change the font color and size of labels in Chartjs 3.0.0
- in chart js tooltip font size is not working
- how to label axis within radar chart with chart.js
- Change font size and font color in Chartjs Angular 5
- Chart Js reduce text size for label on X axis
- increase the label size of a line chart in chart.js
- hide label on doughnut chart of chartjs
- Change dot size individually Scatter Chart -- ChartJS
- Chartjs Radar chart - How to dynamically highlight one of the gridlines at a specific point
More Query from same tag
- ChartJS - Line Chart with different size datasets
- Chart js with json file from url
- Page will not load and I get a "Newtown.json" warning message
- Parse a JSON object to ChartJS
- Setting axis scales in ChartsJS
- ChartJS with Symfony 4.4 (UX component)
- onZoom not triggered when zooming
- Pass objects from javascript to Chart.JS through EJS
- Keep two Pie Charts Side by Side
- chart.JS time axis labels should be just in hours format
- How can I show gridlines only of the even value ones withchartjs?
- Mixed Chart calculating difference between two bars - ChartJS
- onHover event is not triggering in chart.js
- Chart js how to remove numbers on circles of polar chart
- react-chartjs state update error
- Extract data from an array of Object
- Filter dates from the first day of the month to the current date
- Implementing Data Decimation in vue chartjs
- chart.js.... How to delete the number over the bar?
- How to display variables from Laravel controller to view javascript with specific index
- How to make a chart with chartjs and Angular?
- Issues with react-chartjs-2
- How can I increase the size of the pie (Chart.JS)?
- Calculate Ideal Burndown
- 0 line style of Chart.js line chart
- Hide x-axis when it has no value on chart.js
- How to add space between datasets in ng2 doughnut chart
- Tooltip background color gets faded angular-chart.js
- Vuejs - Chartjs - turning a doughnut chart to a gauge - rotation
- ChartsJS make number in middle for only one chart