Skip to content
Advertisement

How to hide radar chart index labels (chart.js)

I’m trying to make a radar chart with a dark background. White index labels distract from the chart itself.

(my chart)

I found a thread that raised a question about customizing index labels, but the code in the answer only works with version 2.1.3 or mb close to it.

Is it possible in chart.js@3.5.1?

Advertisement

Answer

You need to set display to false in the ticks like so:

JavaScript
JavaScript
User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement