Generalized Counter in Dashboard

I have simple counter widget with two text, one digit and one image. I require a lot of such counters in my new project.

Do I have to make separate frame for all or there is a way that same counter frame can be used by supplying sql for digit, text and image?

As these counters are very much used in any application, we can have a widget as chart in cuba itself.

Please guide?

regards

Umesh

Hi @umeshhodwala,

You can update your counter widget content from other widgets or dashboards by using dashboard assistent bean. Or you can use widget parameters in your counter widget and pass these parameters from dashboard. Please find more information in dashboards readme file GitHub - cuba-platform/dashboard-addon: This component is designed to create and embed dashboards. Dashboard consists of widgets - individual elements based on a frame.

Regards,
Evgeny