Hello,
I have a flow that I am wanting to insert data into chartJS through a template node into the UI template node to view chartjs on dashboard. I have attached the pictures in the following order:
Inject => Function Node => Template Node => UI Template Node
The issue I am having is within the data field I can reference the incoming payload with {{payload.value}} but for some reason the labels field that I reference using {{payload.label}} isn't being as an options inside the chart. My suspicion is that the payload being seen for data in the template node is seen as [210, 40, 70] but since I am using the same method for the label field its seeing [Test1, Test2, Test3] which doesn't work because I think the template node doesn't recognize those as string values. Correct me if this is a bad assumption. Could anyone help me to get this to work. This is just testing data for simplicity.