mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Insights dependency and documentation improvements (#9815)
This commit is contained in:
30
lib/insights/docs/components/analytics.component.md
Normal file
30
lib/insights/docs/components/analytics.component.md
Normal file
@@ -0,0 +1,30 @@
|
||||
# Analytics Component
|
||||
|
||||
Shows the charts for a specific report and application.
|
||||
|
||||
## Basic Usage
|
||||
|
||||
```html
|
||||
<adf-analytics
|
||||
[appId]="1001"
|
||||
[reportId]="2006">
|
||||
</adf-analytics>
|
||||
```
|
||||
|
||||
## API
|
||||
|
||||
### Properties
|
||||
|
||||
| Name | Type | Default value | Description |
|
||||
|----------------|-----------|---------------|-----------------------------|
|
||||
| appId | `number` | | appId ID of the target app. |
|
||||
| hideParameters | `boolean` | false | hideParameters. |
|
||||
| reportId | `string` | | reportId. |
|
||||
|
||||
### Events
|
||||
|
||||
| Name | Type | Description |
|
||||
|---------------|---------------------|-----------------------------|
|
||||
| editReport | `EventEmitter<any>` | emitted when editReport. |
|
||||
| reportDeleted | `EventEmitter<any>` | emitted when reportDeleted. |
|
||||
| reportSaved | `EventEmitter<any>` | emitted when reportSaved. |
|
Reference in New Issue
Block a user