alfresco-ng2-components/docs/analytics.component.md

1.2 KiB

Activiti Analytics Component

The component shows the charts related to the reportId passed as input

Basic Usage

<adf-analytics 
    [appId]="1001" 
    [reportId]="2006">
</adf-analytics>

Properties

Name Type Description
appId string The application id
reportId string The report id
hideParameters boolean Toggle the analytics parameters

You can also hide chart parameters UI by setting the hideParameters to true:

<adf-analytics 
    [appId]="appId" 
    [reportId]="reportId" 
    [hideParameters]="true">
</adf-analytics>

Analytics-without-parameters

Events

Name Description
onSuccess The event is emitted when the report parameters are loaded
onError The event is emitted when an error occurs during the loading
reportSaved The event is emitted when a report is saved
reportDeleted The event is emitted when a report is deleted