I am trying to use a pie chart with data from my database but i am new to this application and JS (java script) and i have tried a few things but they dont work.
This is the script i used wich didnt work:
{{table1.data['Actueel aantal in meters'][table1.selectedRow.index]}} {{table1.data['Order totaal in meters'][table1.selectedRow.index]}}
I got an error message with "the value has to be of type 'object' , you provided a value of type 'string'".
I need to get data from the database in the pie chart but the data must be from the selected line in the table.
Can anyone help me with this?