Skip to content

chart:updated

This event occurs just after the window has been shown to the user with the drill through information in it.

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

// Bind to the chart updated event so we can manipulate the
// chart definition after CALUMO has finished with it
report.api.bind("chart:updated", function(e, data){
   // Get the raw chart object that we are looking at
   var chart = data.chart;

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