Donut Chart
Application Type

How to set default value in Donut Chart?


Hi Anjali,

By default values if you mean when chart get load it should have some values. So in a chart we use datapoint list to get chart. So if you have some default values you can add them in the data point list before map rendering like in onInitlize() of screen.

Hey Anjani,

What do you mean by default value? Does it mean there is no data?

Thanks & Regards,

Sudip Pal

Use a variable in the graph sources, if the list that fills this variable comes back empty, add the default value. You can validate this in the action after the data is loaded. You have an example below on the dashboard

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.