No colors with Obsidian Charts dataviewjs query

What I’m trying to do

i try to get my monthly expenses as a pie chart. i successfully did that with the dataview integration of the obisidian charts plugin. but its only black/white

const labels = [];
const tagPages = dv.pages('#fixkosten');
const kosten =[];

tagPages.forEach(note => {
    // add the name of the note
    // add the word count for the note

const chartData = {  
    type: 'doughnut',
    data: {
        labels: labels,
        datasets: [{
            data: kosten

window.renderChart(chartData, this.container);

Things I have tried

  • adding “labelColors: true,” anywhere in the const ChartData section but it has no effekt
  • creating a chart without a dataview query prints out a colored chart