how do i create dynamic charts?
I would like the graph data to be the slot values.
I carry over my domain.yml file but it doesn’t work.
where am i wrong?
entities:
ticket
tclosed
slots:
ticket:
type: text
tclosed:
type: text
actions:
action_open_ticket
responses:
utter_graph:
text: “Here a chart”
custom:
payload: chart
data:
title: esempio
labels:
- ticket open
- ticket closed
backgroundColor:
- “#36a2eb”
- “#ffcd56”
chartsData:
- slot{‘ticket’: 10}
- slot{‘tclosed’: 10}
chartType: pie
displayLegend: ‘true’