Changes for page AppWithin Minutes Charts and Data
Last modified by Admin on 2022/02/28 00:29
Change comment:
There is no comment for this version
Summary
-
Objects (1 modified, 0 added, 0 removed)
Details
- ExtensionCode.ExtensionClass[0]
-
- Description
-
... ... @@ -1,2 +1,48 @@ 1 +Allows creating charts and data table for AppWithinMinutes applications. 1 1 2 -Allows creating charts and data table for AppWithinMinutes applications 3 +You will find the link to the charts page in the left menu 4 + 5 +[[image:awm-charts-menu.png]] 6 + 7 +You can then select an application or class 8 + 9 +[[image:awm-charts-home.png]] 10 + 11 +You can create bar or pie charts by choosing the fields from your application or class: 12 + 13 +[[image:awm-charts-table.png]] 14 + 15 +[[image:awm-charts-pie.png]] 16 + 17 +You can also create charts using the macro in the Wysiwyg editor or in Wiki syntax. See the macro parameters below: 18 + 19 +{{{{{awmchart app="Help.Applications.Movies" category="databaseList1" type="pie" title="Chart" width="500" height="500" table="1" /}} 20 +}}} 21 + 22 +|= Parameter |= Description |= Default Value 23 +|= app | Application Name to get the data for the chart (corresponds to the space) |Empty 24 +|= className | Class Name used alternatively to an Application nameĀ |Empty 25 +|= category | Field on which the counting is made |status 26 +|= type | Chart type (pie / bar / bar3D) |Empty 27 +|= title | Title of the chart |Empty 28 +|= width | Width of the chart |500px 29 +|= height | Height of the chart |500px 30 +|= table | Display of the data table (0/1) |1 31 +|= chart | Display of the chart (0/1) |1 32 +|= chartClasses | CSS Classes to add to the chart 'div' |col-md-6 col-sm-12 33 +|= tableClasses | CSS Classes to add to the table 'div' |col-md-6 col-sm-12 34 +|= useRow | Display of a bootstrap row (0/1) |1 35 +|= colors | Colors to use for the chart (separated by commas) |backgroundColor:FFFFFF; 36 +legendBackgroundColor:FFFFFF; 37 +borderColor:FFFFFF; 38 +plotBackgroundColor:FFFFFF; 39 +plotBorderColor:FFFFFF; 40 +plotBorderVisible:false 41 +|= addParams | Additional parameters for the chart (see the ~[~[Chart macro documentation>>[[http:~~/~~/extensions.xwiki.org/xwiki/bin/view/Extension/Chart%20Macro>>url:http://extensions.xwiki.org/xwiki/bin/view/Extension/Chart%20Macro]]]) |Empty 42 +|= fromHQL | Additional HQL to add to the from part of the query |Empty 43 +|= whereHQL | Additional HQL to add to the where part of the query |Empty 44 +|= function | Function to apply to the category field |Empty 45 +|= aggregate | Aggregate field to use instead of count |Empty 46 +|= aggregateFunction | Function to apply to the aggregate |sum 47 + 48 +[[image:awm-charts-macro.png]]