Open jcschmittmouts opened 3 years ago
Try something like this:
const colors = [ '#6C88C4', '#C05780', '#4DD091', ];
Then when creating your series fetch the color you want.
pieChartSeries.push({ data: data[i], type: 'pie', name: name[i], color: colors[i], animation: true, });
then in your options..
series: pieChartSeries,
Hello, I have a pie chart with 3 values. There's a way to set 3 default colors to my chart?