@zenofmud Hi, now I got it going for one series. how to use the jsonata expression for two series ?
I am able to successfully plot the chart individually once i press the individual button in Fig 1.
I want to chart both the series in same chart by pressing one button in Fig 2
Yes Indeed, several threads, but all solutions are showing for either real time data, (Which i have already used in my flows elsewhere with two different topics feeding into one chart) or hard coded data in msg.payload. Nowhere could i find for charting 2 series in a single chart from a database. after studying the debug output from a live chart output which is plotting a 2 series chart, i now know how the formatted data should look like. The trouble for me is I don't know how to syntax the Jsonata expression to give output as I desire....
I absolutely don't know the logic, but kept moving square brackets, flower brackets and comma here and there, and got it to work in one of the iteration.