Hi,
I'm starting to use DB2 and struggle with the Chart node.
I have an object containing a time serie that I want to plot
I get the chart to display the input if I put "X-axis type" as "Linear", but the I can format the dates on the x-axis.
If I put the "X-axis type" as "Timescale" that chart is blank after input.
Any ideas on what I'm missing?
[
{
"id": "6a15b152e6bbf7a4",
"type": "ui-chart",
"z": "087c3e2c9ec31c54",
"group": "a38af8cdfd40b7a9",
"name": "graphy",
"label": "timechart",
"order": 1,
"chartType": "line",
"category": "",
"categoryType": "none",
"xAxisLabel": "Date",
"xAxisProperty": "x",
"xAxisPropertyType": "property",
"xAxisType": "time",
"xAxisFormat": "",
"xAxisFormatType": "d/L",
"xmin": "",
"xmax": "",
"yAxisLabel": "Rainfall [mm]",
"yAxisProperty": "y",
"yAxisPropertyType": "property",
"ymin": "0",
"ymax": "100",
"bins": "",
"action": "replace",
"stackSeries": false,
"pointShape": "circle",
"pointRadius": "8",
"showLegend": false,
"removeOlder": "365",
"removeOlderUnit": "86400",
"removeOlderPoints": "",
"colors": [
"#1f77b4",
"#aec7e8",
"#ff7f0e",
"#2ca02c",
"#98df8a",
"#d62728",
"#ff9896",
"#9467bd",
"#c5b0d5"
],
"textColor": [
"#666666"
],
"textColorDefault": true,
"gridColor": [
"#e5e5e5"
],
"gridColorDefault": true,
"width": 6,
"height": 8,
"className": "",
"interpolation": "linear",
"x": 510,
"y": 240,
"wires": [
[]
]
},
{
"id": "1b009d913bff4bec",
"type": "inject",
"z": "087c3e2c9ec31c54",
"name": "",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "a",
"payload": "[{\"x\":1734821701,\"y\":50},{\"x\":1740696901,\"y\":10}]",
"payloadType": "json",
"x": 330,
"y": 240,
"wires": [
[
"6a15b152e6bbf7a4"
]
]
},
{
"id": "a38af8cdfd40b7a9",
"type": "ui-group",
"name": "Graphs",
"page": "aebc2d7fc859603b",
"width": "6",
"height": "1",
"order": 2,
"showTitle": true,
"className": "",
"visible": "true",
"disabled": "false",
"groupType": "default"
},
{
"id": "aebc2d7fc859603b",
"type": "ui-page",
"name": "UI2",
"ui": "8071e69eb67e4e66",
"path": "/ui2",
"icon": "",
"layout": "grid",
"theme": "6cf98fc8cedde7c6",
"breakpoints": [
{
"name": "Default",
"px": "0",
"cols": "3"
},
{
"name": "Tablet",
"px": "576",
"cols": "6"
},
{
"name": "Small Desktop",
"px": "768",
"cols": "9"
},
{
"name": "Desktop",
"px": "1024",
"cols": "12"
}
],
"order": 1,
"className": "",
"visible": "true",
"disabled": "false"
},
{
"id": "8071e69eb67e4e66",
"type": "ui-base",
"name": "UI2",
"path": "/dashboard",
"appIcon": "",
"includeClientData": true,
"acceptsClientConfig": [
"ui-control",
"ui-notification"
],
"showPathInSidebar": false,
"showPageTitle": true,
"titleBarStyle": "default",
"showReconnectNotification": false,
"notificationDisplayTime": 5,
"showDisconnectNotification": false
},
{
"id": "6cf98fc8cedde7c6",
"type": "ui-theme",
"name": "Green",
"colors": {
"surface": "#ffffff",
"primary": "#01bb0c",
"bgPage": "#eeeeee",
"groupBg": "#ffffff",
"groupOutline": "#cccccc"
}
}
]