# Create Charts with Highcharts

![Chart Generator for Orbeon Forms](https://3974112602-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LH4gGgyMb1_fhOg782r%2F-M3N7L3Rkt0UdiBadA4b%2F-M3N7sxYGexaaF9J-Yt6%2Forbeon-charts-options.png?alt=media\&token=a42f1afd-4136-4d4c-a61d-97d7001873aa)

**1- Orbeon Published Forms**\
A list of Orbeon Puslished Forms. For some Chart Options a Form has to be selected in this list.&#x20;

**2- Chart Options**\
In this form the user can set the options to create a chart based on Orbeon Forms instances.\
**3- Scope**\
The scope define how much Forms are used to generate the chart. Possible values:\
&#x20;  \- Global {all forms are included}\
&#x20;  \- Application {all forms of the selected application} (the user has to select a Form and from that selection the application is taken)\
&#x20;  \- Form Definition (all versions) {all versions of selected form definition}\
&#x20;  \- Form Definition (selected) {only the actual version of selected form definition}\
&#x20;  \- Fields Values {only the actual version of selected form definition} (there is an exception with Field Evolution Comparison where a field of different forms can be selected)\
**4- Chart Type**\
Select the distribution chart to render. Possible values:\
&#x20;  \- Bar Quantity {count forms quantity}\
&#x20;  \- Donut Quantity {count forms quantity}\
&#x20;  \- Day Distribution Creation {count forms quantity in each day}\
&#x20;  \- Day Distribution Modification {count forms quantity in each day}\
&#x20;  \- Donut Creation by Month {count forms quantity by month}\
&#x20;  \- Donut Modification by Month {count forms quantity by month}\
&#x20;  \- Donut Field Type Distribution {count forms field types}\
&#x20;  \- Field Evolution {sum a field}\
&#x20;  \- Field Evolution Comparison {compare fields sum -even of different forms-}\
**5- Start Date**\
Start date to count forms.\
**6- End Date**\
End date to count forms.\
**7- Time Span**\
Year, Month, Week and Day - used with field evolution and field comparison to group values by time span.\
**8- Form Condition Block**\
This is a powerful dynamic filter (if we want to filter for some values). See examples:\
\[:form | form country = 'USA'] \
\[:form | form country = 'USA' and: \[form city = 'Los Angeles']]\
\[:form | (form country = 'USA' and: \[form city = 'Los Angeles']) or: \[form amount > 50000]]\
\[:form | form hasPassed]\
\[:form | form issueDate > (Date fromString: '01/01/2020')]

![Field Evolution](https://3974112602-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LH4gGgyMb1_fhOg782r%2F-M3NFj6nLf0KmHbbP-Ry%2F-M3NFuDj5x4iRz0oIdWa%2Fimage.png?alt=media\&token=a34a0cb4-3212-44ca-abc0-1dc7e696c0be)

![Fields Comparison (totalWithTaxes, total, costTax, cost)](https://3974112602-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LH4gGgyMb1_fhOg782r%2F-M3NFj6nLf0KmHbbP-Ry%2F-M3NG6ZFJ7BcTnTM9FKL%2Fimage.png?alt=media\&token=7b79ead6-a293-4120-93e5-6635045a3dbc)
