Like what you see? Have a play with our trial version.

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info
titleNote
You can use all the functions that BaseAPI.loadreport takes (apart from reportId, instanceName and filterValues) with createReportElement too.

...

By default, any interaction that is not explicitly set to false is treated as enabled and will display if the report allows it. 

...

animation

Allows drill down functionality chart animations to be disabled.

...

annotations

Allows drill anywhere functionality annotations to be disabled.

...

brushing

Allows drill through brushing functionality to be disabled.

...

drillAnywhere

Allows unit selection drill anywhere functionality to be disabled.

...

drillBreadcrumbs

Allows brushing drill breadcrumb functionality to be disabled.

...

drillDown

Allows the timeSlider drill down functionality to be disabled.

...

drillThrough

Allows drill breadcrumb through functionality to be disabled.

seriesSelection

Allows seriesSelection functionality to be disabled

timeSlider

Allows the timeSlider functionality to be disabled.

...

unitSelection

Allows annotations unit selection functionality to be disabled.


Example

To disable all user interactivity on the report using the createReportElement function:

report.createReportElement({

     interactions: {

            drillDown            animation: false,

drillAnywhere

            annotations: false,

drillThrough

            brushing: false,

unitSelection

           drillBreadcrumbs: false,

brushing

           drillDown: false,

timeSlider

           drillAnywhere: false,

drillBreadcrumbsdrillThrough: false,

seriesSelection: false,

timeSlider: false,

annotationsunitSelection: false,

     }

});


sortAscending(fieldId)

...

Anchor
reportRunAlreadyInProgress
reportRunAlreadyInProgress

reportRunAlreadyInProgress

Description

Triggered if any process tries to start a report run while the report is already running. 

Example

report.addEventListener("reportRunAlreadyInProgress", function() {

alert("report is already running");

});

...