mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
50 lines
1.2 KiB
Markdown
50 lines
1.2 KiB
Markdown
# Activiti Analytics Component
|
|
|
|
Shows the charts related to the reportId passed as input
|
|
|
|

|
|
|
|
## Basic Usage
|
|
|
|
```html
|
|
<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`:
|
|
|
|
```html
|
|
<adf-analytics
|
|
[appId]="appId"
|
|
[reportId]="reportId"
|
|
[hideParameters]="true">
|
|
</adf-analytics>
|
|
```
|
|
|
|

|
|
|
|
### Events
|
|
|
|
| Name | Description |
|
|
| --- | --- |
|
|
| success | The event is emitted when the report parameters are loaded |
|
|
| error | 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 |
|
|
|
|
<!-- Don't edit the See also section. Edit seeAlsoGraph.json and run config/generateSeeAlso.js -->
|
|
<!-- seealso start -->
|
|
## See also
|
|
|
|
|
|
<!-- seealso end --> |