How To Dev - Summary of Dashboard Widgets’ Capabilities for Business Logics

 

A summary (not all Snap4City Dashboard Widgets are listed in this table)

Widget name / description

Event Driven

Some Local Interaction

Server-Side Business Logic Node-RED

Client-Side Business Logic (IN = JavaScript)

Single Content

Yes

--

OUT

OUT

Speedometer

Yes

--

OUT

OUT

Gauge

Yes

--

OUT

OUT

MultiSeries, Time Series, Curved Line, time compare

Yes

Yes

OUT

IN/OUT

Time Trend, Time Series

Yes

Yes

OUT

IN/OUT

Spidernet, Radar

Yes

Yes

OUT

IN/OUT

BarSeries

Yes

Yes

OUT

IN/OUT

Donut, Pie

Yes

Yes

OUT

IN/OUT

Table

Yes

Yes

OUT

IN/OUT

Device Table

Yes

Yes

IN/OUT

IN/OUT

Multi Data Map (dashboard Map)

Yes

Yes

IN/OUT

IN/OUT

Selector

Yes

Yes

--

--

Button, Impulse button

Yes

Yes

IN

IN

Switch, on/off but.

Yes

Yes

IN/OUT

IN/OUT

Knob, Dimer

Yes

Yes

IN/OUT

IN/OUT

Keypad, Num Pad

Yes

Yes

IN

IN

External Content

Yes

Yes

IN/OUT

IN/OUT

Event Driven MyKPI

Yes

--

IN

--

Synoptics (see External Content) (read, write, subscribe)

Yes

Yes

IN/OUT

--

Dashboard Form

Yes

Yes

IN/OUT

Possible on Ext.Content

Speak Synthesis

Yes

--

OUT

Possible on Ext.Content

D3 charts

Yes

Yes

OUT

--

 

Server-Side Business Logic, SSBL:

Client-Side Business Logic, CSBL:

  • IN means that the Dashboard Widget may have the possibility of caching a user action, and to manage that action with a JavaScript (coded into the Widget More Option, CK Editor part). The JavaScript can produce changes and can sending commands including JSON, to one or more OUT widgets of the same dashboard, and may also open a new Dashboard controlling it.
  • OUT means that the Dashboard Widget may receive some commands including JSON from others IN Widgets to change its status: what is rendering, the collected and shown data from Smart City API, widget color, position, zoom, content, data, etc., according to the Widget kind and features.

 

 

How To Dev - Summary of Dashboard Widgets’ Capabilities for Business Logics | Snap4City

Error

×

Error message

  • Unable to send e-mail. Contact the site administrator if the problem persists.
  • Unable to send e-mail. Contact the site administrator if the problem persists.
  • Unable to send e-mail. Contact the site administrator if the problem persists.
  • Unable to send e-mail. Contact the site administrator if the problem persists.
  • Unable to send e-mail. Contact the site administrator if the problem persists.
  • Unable to send e-mail. Contact the site administrator if the problem persists.
  • Unable to send e-mail. Contact the site administrator if the problem persists.
  • Unable to send e-mail. Contact the site administrator if the problem persists.
  • Unable to send e-mail. Contact the site administrator if the problem persists.
  • Unable to send e-mail. Contact the site administrator if the problem persists.
  • Unable to send e-mail. Contact the site administrator if the problem persists.
  • Unable to send e-mail. Contact the site administrator if the problem persists.
  • Unable to send e-mail. Contact the site administrator if the problem persists.
  • Unable to send e-mail. Contact the site administrator if the problem persists.
  • Unable to send e-mail. Contact the site administrator if the problem persists.
  • Unable to send e-mail. Contact the site administrator if the problem persists.
  • Unable to send e-mail. Contact the site administrator if the problem persists.
  • Unable to send e-mail. Contact the site administrator if the problem persists.
  • Unable to send e-mail. Contact the site administrator if the problem persists.
  • Unable to send e-mail. Contact the site administrator if the problem persists.
  • Notice: Trying to get property of non-object in user_is_logged_in() (line 1576 of /var/www/html/drupal/modules/user/user.module).
  • Notice: Trying to get property of non-object in user_is_logged_in() (line 1576 of /var/www/html/drupal/modules/user/user.module).
  • Notice: Trying to get property of non-object in og_field_access() (line 578 of /var/www/html/drupal/sites/default/modules/og/og.module).
  • Notice: Trying to get property of non-object in user_access() (line 806 of /var/www/html/drupal/modules/user/user.module).
  • Notice: Trying to get property of non-object in user_access() (line 818 of /var/www/html/drupal/modules/user/user.module).
  • Notice: Trying to get property of non-object in user_access() (line 819 of /var/www/html/drupal/modules/user/user.module).
  • Notice: Trying to get property of non-object in user_access() (line 825 of /var/www/html/drupal/modules/user/user.module).
  • Notice: Trying to get property of non-object in user_access() (line 828 of /var/www/html/drupal/modules/user/user.module).
  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/drupal/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/drupal/includes/bootstrap.inc).
  • Error: __clone method called on non-object in og_user_access_entity() (line 2249 of /var/www/html/drupal/sites/default/modules/og/og.module).
The website encountered an unexpected error. Please try again later.