How to create dynamic chart

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’

hey @giorgio

I’m afraid I don’t quite understand the question - are you using the custom payload with some external service that renders the chart?

I want to know how can I make a chart where ChartData has non-constant values but taken from slot.

Hey @giorgio

You need to write a custom action for that. Check the example here.

@giorgio - Were you able to create charts. I also need to implement dynamic charts and struggling for the same.