Base solution for your next web application

Activities of "mnetolicky"

Product info

  • Product version latest v10.2.0
  • Product type .net core + Angular

Question

I have following need/task. I want to create an Witget with user configurable parameters which are editable only in Edit mode of the Dashboard.

Here is the example: We will have entity Sensor. And OTM relation to received sensor values (Entity TimeSeriesData). This values should be shown as line chart. Because we will have multiple Sensors of different type I was planning to develop one Widget which will be possible to parametrize on User level. And this Widget will be placed multiple times on Dashboard. Always for different Sensor.

I mean that Widget will always show graph for TimeSeries for selected Sensor, but user can add multiple Widgets on Dashboard. Only difference will be that user select different property. This will cause actually different where clause in underlying SELECT.

I have looked on your example https://docs.aspnetzero.com/en/aspnet-core-angular/latest/Developing-Angular-Customizable-Dashboard

I can see that you are using filter DateRangePicker. That’s I want to use also. So different timerange can be displayed for graphs. But I can not see how to achieve configurable property of the Widget which can be changed only in Edit mode of Dashboard. I need to click on Edit on dashboar and there I can change it. Alos in sample dashboards we can add each Widget only once. How this can be configured that there is not this limitation?

Can you please give me some guidance how to achieve it? Or maybe if you have some example it would be great.

Showing 1 to 1 of 1 entries