Chart with x-axis

0
I have a series of numbers in an array. And I want those displayed in a line-graph. For the y-axis I can select the values in the object (each value an entity with a one to many with a parent entity). But I have nothing to select for the x-axis, that should be just 1,2,3,4,5... etc. so each value is displayed. How to do that?
asked
3 answers
1

Create an object that you fill with the data where the y-series is your “series of numbers in an array”:

{"x": [1, 2, 3], "y": [3, 1, 6]} 

and feed that to the line chart. Can be appstore-app ‘AnyChart’ or ‘Charts’.

Have a look at mydemoversion8-sandbox.mxapps.io/p/charts for some examples.

answered
0

Which widget are you using and what is the related domain model?

answered
0

You can use https://appstore.home.mendix.com/link/app/105695/ or https://appstore.home.mendix.com/link/app/106517/ for this.

answered