Hello!
I’m using a free radar chart. I can only put a maximum of 15 values in data in datasets. However, in the example in the documentation, it’s possible to set more. Is this because I’m using the free version?
Hello!
I’m using a free radar chart. I can only put a maximum of 15 values in data in datasets. However, in the example in the documentation, it’s possible to set more. Is this because I’m using the free version?
Hey @User999999999, are you able to share an example? That sounds lower than the actual limits, so I can look into it.
[
{ "label": "Category A", "value": 2 },
{ "label": "Category B", "value": 2 },
{ "label": "Category C", "value": 1 },
{ "label": "Category D", "value": 1 },
{ "label": "Category E", "value": 1 },
{ "label": "Category F", "value": 0 },
{ "label": "Category G", "value": 0 },
{ "label": "Category H", "value": 0 },
{ "label": "Category I", "value": 0 },
{ "label": "Category J", "value": 0 },
{ "label": "Category K", "value": 0 },
{ "label": "Category L", "value": 0 },
{ "label": "Category M", "value": 0 },
{ "label": "Category N", "value": 0 },
{ "label": "Category O", "value": 0 },
{ "label": "Category P", "value": 0 },
{ "label": "Category Q", "value": 0 },
{ "label": "Category R", "value": 0 },
{ "label": "Category S", "value": 0 },
{ "label": "Category T", "value": 0 },
{ "label": "Category U", "value": 0 },
{ "label": "Category V", "value": 0 },
{ "label": "Category W", "value": 0 }
]
This type of data,I also tried it on the bar chart.
I don’t think you’re hitting any data limit. This just doesn’t look like a valid Chart.js config. Each dataset
is expected to have a label
string and a data
array of numbers.
I’ve sent you my initial data array, but of course I pass the labels into “labels” (example: [‘Logistique et SI’, ‘Gestion du dossier Patient/Identité du pat…’, ‘Autre’, ‘Risque infectieux’, ‘RH’]) and the values into data (example: [‘11’, ‘7’, ‘6’, ‘6’, ‘2’]).
This works very well in general.
But for a radar chart i’m limited to 15 values and for a bar chart I’m limited to 5 values.
Beyond that, my chart is not displayed.
Okay, it would be best to send me the full, final chart.js config that gets rendered if you can. Otherwise it’s hard to tell what’s wrong.