Skip to content

chart:updated

This event occurs just after the internal setting of chart options (colors/settings etc) and is often used for making custom changes to each chart

Event Arguments

data.address

The cell address of the chart object in R1C1 format

data.reportChart

The CALUMO representation of the raw chart object

data.chart

The raw chart object

Example

// manipulate the chart options after it's been initialized
report.api.bind("chart:updated", function(e, data) {
   // get the raw chart object
   var chart = data.chart

   // Set some options on the chart that are not available through the UI
   chart.setOptions({
      legend:{
         labels:{
            color: "#000000"
         }
      }
   })
})
Back to top