Can somebody help make a quick example of how I can send data for a graph - in a single message - with duplicate labels on the X axis? I cannot seem to make a timescale graph from a message with an array of data points?
I wish to show the hour of the day on the X axis but often for more than a day, such that some hour "names" are duplicated at the beginning and end of the graph.
For example this doesn't seem to work:
{"id":"5ef1d44eedddfe91","type":"ui-chart","z":"178ed895cc75d9ab","group":"1130e9c196f39867","name":"Plan","label":"Plan","order":2,"chartType":"line","category":"[\"minCharge\", \"normalCharge\", "buy\"]","categoryType":"json","xAxisLabel":"","xAxisProperty":"payload.ts","xAxisPropertyType":"msg","xAxisType":"time","xAxisFormat":"HH","xAxisFormatType":"custom","xmin":"","xmax":"","yAxisLabel":"","yAxisProperty":"payload","yAxisPropertyType":"msg","ymin":"","ymax":"","bins":10,"action":"replace","stackSeries":false,"pointShape":"false","pointRadius":4,"showLegend":true,"removeOlder":"24","removeOlderUnit":"3600","removeOlderPoints":"33","colors":["#ffd172","#385fff","#cc4c3d","#2ca02c","#a347e1","#d62728","#ff9896","#9467bd","#c5b0d5"],"textColor":["#666666"],"textColorDefault":true,"gridColor":["#e5e5e5"],"gridColorDefault":true,"width":"6","height":"4","className":"","interpolation":"linear","x":1230,"y":480,"wires":[[]]},{"id":"4776f55f1c64640c","type":"inject","z":"178ed895cc75d9ab","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"[{\"hour\":\"2025012922\",\"ts\":1738188000000,\"shortHour\":\"22\",\"normalCharge\":0,\"minCharge\":0.7,\"buy\":1.4},{\"hour\":\"2025012923\",\"ts\":1738191600000,\"shortHour\":\"23\",\"normalCharge\":0,\"minCharge\":0,\"buy\":1.35},{\"hour\":\"2025013022\",\"ts\":1738274400000,\"shortHour\":\"22\",\"normalCharge\":0,\"minCharge\":0,\"buy\":1.02}]","payloadType":"json","x":1010,"y":480,"wires":[["5ef1d44eedddfe91"]]},{"id":"1130e9c196f39867","type":"ui-group","name":"Plan","page":"ce0fb242887e2cfe","width":"6","height":"1","order":2,"showTitle":false,"className":"","visible":"true","disabled":"false","groupType":"default"},{"id":"ce0fb242887e2cfe","type":"ui-page","name":"Bil","ui":"391b382dc05b69b2","path":"/car","icon":"car","layout":"grid","theme":"c20a7e20a4e37ad0","breakpoints":[{"name":"Default","px":"0","cols":"6"},{"name":"Tablet","px":"576","cols":"6"},{"name":"Small Desktop","px":"768","cols":"9"},{"name":"Desktop","px":"1024","cols":"12"}],"order":2,"className":"","visible":true,"disabled":false},{"id":"391b382dc05b69b2","type":"ui-base","name":"Dashboard2","path":"/dashboard","appIcon":"","includeClientData":true,"acceptsClientConfig":["ui-notification","ui-control"],"showPathInSidebar":false,"navigationStyle":"default","titleBarStyle":"default","showReconnectNotification":false,"notificationDisplayTime":"5","showDisconnectNotification":false},{"id":"c20a7e20a4e37ad0","type":"ui-theme","name":"Default Theme","colors":{"surface":"#ffffff","primary":"#0094ce","bgPage":"#eeeeee","groupBg":"#ffffff","groupOutline":"#cccccc"},"sizes":{"pagePadding":"6px","groupGap":"6px","groupBorderRadius":"4px","widgetGap":"6px","density":"default"}}]