Input items
An array of Items is passed in by msg.payload. It consists of objects containing the following properties.
[Data syntax]
{
dataItems:[
{
group: "group1name",
data: [
{
label: "label1name",
data: [
{
timeRange: [<date>, <date>],
val: <val: number (continuous dataScale) or string (ordinal dataScale)>
},
{
timeRange: [<date>, <date>],
val: <val>
},
(...)
]
},
{
label: "label2name",
data: [...]
},
(...)
],
},
{
group: "group2name",
data: [...]
},
(...)
],
settings:{
xAxis:{
tickFormat: <val: string (date time[default:YYYY-MM-DD HH:mm:ss])>,
startDateTime: <date>,
endDateTime: <date>,
labelsFontSize: <val: number (from 0 to 64[default:16])>
labelsColor: <val: string (from #000000 to #ffffff[default:#000000])>
},
yAxis:{
labelsFontSize: <val: number (from 0 to 64[default:16])>
labelsColor: <val: string (from #000000 to #ffffff[default:#000000])>
},
tooltips:{
timeFormat: <val: string (d3-time-format[default:%Y-%m-%d %H:%M:%S])>,
}
chart:{
topMargin: <val: number (from 0 to 255[default:60])>
height: <val: number (from 1 to 255[default:60])>
resetZoom:{
labelFontSize: <val: number (from 0 to 64[default:24])>
labelColor: <val: string (from #000000 to #ffffff[default:#000000])>
},
lineColors <{val: string (from #000000 to #ffffff[default:#000000]), val: string (label name)}>,
},
options:{
enableAnimations: <boolean>,
enableDateMarker: <boolean>,
forwardInputMessages: <boolean>
}
}
}
priority: (msg.payload.settings > node property settings)