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:
- IN means that the Dashboard Widget may have a counterpart on Proc.Logic and a user action produces an Input event into the Proc.Logic flow, the node in Node-RED has an output from which the event arrives in the JavaScript.
- OUT means that the Dashboard Widget may have a counterpart on Proc.Logic as a node in Node-RED having an input to which sending a JSON can produce an OUTPUT on the Dashboard Widget.
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.