Chart.js icon indicating copy to clipboard operation
Chart.js copied to clipboard

Radar Graph Becomes small and hard to read if Labels are long

Open sukhpalsingh opened this issue 13 years ago • 4 comments

Radar graph becomes so small in size if the labels are long. Currently, there is not way to separate the long labels into two or more lines. This force to choose small length labels which not always tells what the actual meaning of the each item shown on the graph.

There should be way to display long labels into separate lines by some token like new line character or break character.

sukhpalsingh avatar Sep 26 '13 03:09 sukhpalsingh

pointLabelSeperator: "\n" added as new option to radar as default option. pointLabelSeperator can be changed in the custom options during rendering graph and can be "br" or something else.

var options = { pointLabelSeperator: "\n" }

sukhpalsingh avatar Sep 26 '13 04:09 sukhpalsingh

I cannot reproduce this on the latest version.

Hello, this issue looks like an ERROR REPORT, for something not correctly implemented in Chart.js. It would be very helpful if you could please create an example chart that would illustrate this missing feature using JSBIN and even attached a mockup here of what the result should look like.

To help, I have created a simple JSBIN which you could fork: http://jsbin.com/yozobahucero/1/edit?html,js,output

Sorry that this response is templated as we are triaging many issues and ones with test cases will be seen first.

fulldecent avatar Sep 25 '14 20:09 fulldecent

I have the same problem. I must use a big name on my labels and the chart become small. I create a example with 2 chart to you check out: http://jsbin.com/conuwavoyoje/1/edit

bbcbreno avatar Sep 26 '14 21:09 bbcbreno

Duplicate of #358

fulldecent avatar Jan 19 '15 00:01 fulldecent