Mendix connector to create chartjs datasets from OQL.
Chartjs widget for Mendix requires the following data structure:
You need to configure a microflow datasource in the widget that will create and return this data structure.
Using the Mx Chart Util module you can use a single action that will return the result of an OQL query in the required data structure.
The action requires the following parameters:
- OQL statement
- Root object for the data structure
Here's an example OQL. You need to query the following colunns:
- chartname
- xlabel
- xvalue
- yvalue
- color
- label
- sortingvalue
The project contains an example how you can use the OQL action to build dynamic charts.
Some screenshots:
- runivy.cmd - download all dependencies
- runivy-export.cmd - download module export required dependencies
- 0.1 -