Customizing radar chart (no anglelines in the center/empty center/ empty tick label) #10799
-
`options: {
I would like to modify the ticks and angle lines with the following design. But in the case of Ticks, `callback : function (value) {
Although modified, there is an empty space in the '' section. To give the showLabelBackdrop option, you can see the line in the back, so it's not the design you want. To remove the middle line, angleLines.borderDash was used, but it would not fit if the size of the component changes due to changes in the length of the label text.
version: chart.js 2.8.0 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @qkrdkwl9090 , I have been looking into your request and have found an option after some time playing around to get the center correct. First video is good to watch for understanding and removes the showLabelBackdrop. Second video fixes the tiny pixel difference line length of the gridline in the center:
This is written in Chart.js Version 3. However, all of the options should work as well in Chart.js 2. Just consider the name space. As Chart.js 3 uses scales.r.ticks But all should be equal in result. I hope this helps. |
Beta Was this translation helpful? Give feedback.
Hi @qkrdkwl9090 ,
I have been looking into your request and have found an option after some time playing around to get the center correct. First video is good to watch for understanding and removes the showLabelBackdrop. Second video fixes the tiny pixel difference line length of the gridline in the center:
This is written in Chart.js Version 3. However, all of the options should work as well in Chart.js 2. Just consider the name space. As Chart.js 3 uses scales.r.ticks
While Chart.js 2 uses just scale.ticks
But all should be equal in result. I hope this helps.