diff --git a/ng2-components/ng2-activiti-analytics/README.md b/ng2-components/ng2-activiti-analytics/README.md index ac208e5422..ad7db61552 100644 --- a/ng2-components/ng2-activiti-analytics/README.md +++ b/ng2-components/ng2-activiti-analytics/README.md @@ -23,6 +23,31 @@ Also make sure you include these dependencies in your `index.html` file: ``` +#### Moment + +```sh +npm install moment --save +``` + +Also make sure you include these dependencies in your `index.html` file: + +```html + +``` + + +#### Material Design Date picker + +```sh +npm install md-date-time-picker --save +``` + +Also make sure you include these dependencies in your `index.html` file: + +```html + +``` + #### Material Design Lite The style of this component is based on [material design](https://getmdl.io/), so if you want to visualize it correctly you have to add the material @@ -41,17 +66,34 @@ Also make sure you include these dependencies in your `index.html` file: ``` -## Basic usage example Activiti Analytics - +## Basic usage example Activiti Analytics List +The component shows the list of all the available reports ```html - + ``` #### Events - +**onSuccess**: The event is emitted when the report list are loaded
+**onError**: The event is emitted when an error occur during the loading
+**reportClick**: The event is emitted when the report in the list is selected
#### Options +No options. +## Basic usage example Activiti Analytics +The component shows the charts related to the reportId passed as input +```html + +``` + +#### Events +**onSuccess**: The event is emitted when the report parameters are loaded
+**onError**: The event is emitted when an error occur during the loading
+ +#### Options +**appId**: The application id
+**reportId**: The report id
+**debug**: Flag to enable or disable the Form values in the console log
## Build from sources diff --git a/ng2-components/ng2-activiti-analytics/demo/index.html b/ng2-components/ng2-activiti-analytics/demo/index.html index 833362c08e..8d5e80fe31 100644 --- a/ng2-components/ng2-activiti-analytics/demo/index.html +++ b/ng2-components/ng2-activiti-analytics/demo/index.html @@ -2,13 +2,15 @@ - Angular 2 Activiti Analitics - Demo + + Alfresco Angular 2 Activiti Analytics - Demo + @@ -18,7 +20,13 @@ + + + + + +