I am trying to modify a simple line plot with the msg.ui_control variable.
However I am not sure which parameters are allowed.
If I follow the table here I got basically the same parameters as in the ui_chart widget itself.
If I try some more extended setting parameters according to the chartjs documentation most of the settings there are not working. for example a function like this:
Thanks for the hint! I placed the keywords in quotes (which should be obsolete for a JSON string) and now the plot reappears with the default axes ticks. Looks like the complete msg.ui_control is ignored..
In my case I only cusomize my x-axis. So it seems you can modify your x-axis without using the y-axis, but you cannot modify the y-axis without the x-axis. Maybe - in contrast to my example above - an empty object is enough? I didn't test it...
It might test a little further but for now I am happy to have a line plot which displays correctly (and controlled) on my 8y old iPad as well as my latest PC. Not trivial considering all the issues with javasscript framework versions..