have a look here too..
[{"id":"dae53b72edc705e4","type":"ui_button","z":"58560d6d98cf8d06","name":"","group":"3c4ffa4110cd59c8","order":1,"width":"3","height":"1","passthru":false,"label":"Refresh","tooltip":"","color":"","bgcolor":"","className":"","icon":"","payload":"","payloadType":"str","topic":"topic","topicType":"msg","x":380,"y":3270,"wires":[["9747d50d74971dc9"]]},{"id":"9747d50d74971dc9","type":"change","z":"58560d6d98cf8d06","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"[{\"x\":0,\"y\":466.41},{\"x\":1,\"y\":466.18},{\"x\":2,\"y\":461.8},{\"x\":3,\"y\":432.71},{\"x\":4,\"y\":421.17},{\"x\":5,\"y\":421.17},{\"x\":6,\"y\":425.67},{\"x\":7,\"y\":464.57},{\"x\":8,\"y\":489.03},{\"x\":9,\"y\":471.72},{\"x\":10,\"y\":432.71},{\"x\":11,\"y\":350.76},{\"x\":12,\"y\":208.22},{\"x\":13,\"y\":231.42},{\"x\":14,\"y\":115.77},{\"x\":15,\"y\":51.59},{\"x\":16,\"y\":47.55},{\"x\":17,\"y\":151.78},{\"x\":18,\"y\":391.39},{\"x\":19,\"y\":421.74},{\"x\":20,\"y\":370.96},{\"x\":21,\"y\":324.21},{\"x\":22,\"y\":48.01},{\"x\":23,\"y\":3.81}]","tot":"json"},{"t":"set","p":"payload","pt":"msg","to":"[\t {\t \"name\" : \"$/kWH\",\t \"data\" : payload.{\"x\": $.x, \"y\": $.y}\t }\t]\t","tot":"jsonata"},{"t":"set","p":"charttitle","pt":"msg","to":"Place Chart Title Here","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":550,"y":3270,"wires":[["94892351e8e1ca4f","c1a4eeb3e69a1218"]]},{"id":"94892351e8e1ca4f","type":"ui_template","z":"58560d6d98cf8d06","group":"a2d9ac75438797b7","name":"Apex-Chart with Multiple Y Axis","order":1,"width":30,"height":"12","format":"<script src=\"https://cdn.jsdelivr.net/npm/apexcharts\"></script>\n<div id=\"chart\"></div>\n\n<script>\n\n(function(scope)\n {scope.$watch('msg', function(msg)\n {if (msg){var options =\n {series: msg.payload,\n chart:{type: 'area',stacked: false,height: 355,background:'#000',zoom:\n {type: 'x',enabled: true,autoScaleYaxis: true},\n toolbar:{autoSelected: 'zoom'}},\n dataLabels: {enabled: true,enabledOnSeries: [0],formatter: function (val, opts) {return val},},\n markers:{size: 2,},\n theme: {mode: 'dark'},\n colors: ['#FA2E2E', '#FAFA23', '#546E7A', '#E91E63', '#FF9800'],\n \n title: {text: msg.charttitle,align: 'center',margin: 10,offsetX: 0,offsetY: 0,floating: false,style: {fontSize:30,fontWeight: 'bold',fontFamily: undefined,color: 'yellow'},},\n stroke:{width: [8,0,2],curve: ['smooth', 'smooth', 'smooth']},\n yaxis:[\n {labels:{formatter: function (val){return val.toFixed(1);},},title: { text: \"Title-1\", style: {color: \"#FA2E2E\"}},},\n {labels:{formatter: function (val){return val.toFixed(1);},},title: { text: \"Title-2\", style: {color: \"#546E7A\"}},},],\n\n xaxis: {lines: {show: false,},type: 'gradient',datetimeUTC: false,labels: {format: 'dd/MMM HH:mm',},},\n tooltip: {enabled: true,style: {fontSize: '12px',fontFamily: undefined},x: {show: true,format: 'dd/MMM HH:mm',},\n row: {colors: undefined,opacity: 0.5},\n column: {colors: undefined,opacity: 0.5},\n padding: {top: 0,right: 0,bottom: 0,left: 0},},\n grid: {show: true,borderColor: '#ffffff',strokeDashArray: 0,position: 'back',\n xaxis: {lines: {show: false}}, \n yaxis: {lines: {show: false}},\n row: {colors: undefined,opacity: 0.5}, \n column: {colors: undefined,opacity: 0.5}, \n padding: {top: 0,right: 0,bottom: 0,left: 0},}};\n\n\nsetTimeout( ()=> {if(scope.chart){scope.chart.updateOptions(options)}else {scope.chart = new ApexCharts(document.querySelector(\"#chart\"), options);scope.chart.render();}}, 1000)}});})(scope);\n\n</script>","storeOutMessages":false,"fwdInMessages":false,"resendOnRefresh":false,"templateScope":"local","className":"","x":870,"y":3270,"wires":[[]]},{"id":"3c4ffa4110cd59c8","type":"ui_group","name":"VARIABLES","tab":"0a734ef04f43c77a","order":1,"disp":false,"width":"30","collapse":false,"className":""},{"id":"a2d9ac75438797b7","type":"ui_group","name":"CHART","tab":"0a734ef04f43c77a","order":2,"disp":false,"width":"30","collapse":false,"className":""},{"id":"0a734ef04f43c77a","type":"ui_tab","name":"APEX","icon":"dashboard","order":16,"disabled":false,"hidden":false}]