Does anyone know how I can customize the colors of my chart?
I tried the solution from this page: How to set the colour of a donut chart
but it didn’t work and broke the chart.
Does anyone know how I can customize the colors of my chart?
I tried the solution from this page: How to set the colour of a donut chart
but it didn’t work and broke the chart.
Btw, this is how I tried to add colors to my chart:
<dmx-char dmx-bind:colors="['#ffc0cb', '#c0ebff']" id="chart1" point-size="" legend="bottom" colors="" label-x="scUrgencyLevelTotals.data.totalUrgencyLevels.urgency_label" cutout="" dmx-bind:data="scUrgencyLevelTotals.data.totalUrgencyLevels" dataset-1:value="count" labels="urgency_label" dataset-1:tooltip="scUrgencyLevelTotals.data.totalUrgencyLevels.count" dataset-1:label="aantal" responsive="true" type="doughnut">
</dmx-chart>
Have you copied exactly from your code?
Seems a "t" is missing: