The Sparkline chart is a CygNet-aware control that historical data for a single point on a single line. This lightweight line chart is drawn without axes, labels, or legend, and is typically used to understand the shape of historical data: trends up or down, highlight maximum or minimum values, and identify spikes in the data. A sparkline supports configurable line and background color, configurable x-axis and y-axis, configurable date ranges, both relative and absolute, and live data updates to allow the sparkline to request new data at a configured interval giving the appearance that the sparkline is trending data at a real-time pace. A sparkline can be added to other controls, including: a CygNet grid, a Detail control, and a Tile View control.
The sparkline has a Click event which is limited to the chart line itself, and not the surrounding space, allowing you to overlay the sparkline control on top of another control.
|
Sample sparkline and CygNet grid controls with facilities selected in the tag chooser |
Property inheritance is a widely used concept in Canvas. The application supports an explicit relationship between screens, objects, and controls, where certain property values, such as SiteService and facility tags, are passed from one element to another via an inheritance framework. Screens, objects, and controls can be configured as property senders or property receivers and provide configuration options where you can explicitly define the source of the SiteService and facility. Depending on how you have your screens, objects, and controls set up, the SiteService and facility may come from any one of the following sources:
Screens and objects support an additional notification option to broadcast their SiteService and facility selection changes to other open screens running in the Canvas or Canvas View application. If configured, a <Broadcast> option is available to source the screen's SiteService and facility properties from another open screen.
For example, a text tool can be configured to get its facility from the screen and the screen can be configured to get its facility from a tag chooser. Or Screen_A might source its facility from Screen_B, which gets its facility from a tag chooser.
The sparkline control supports property inheritance as a receiver of its SiteService and facility:
| Receive from | Send to | ||
|---|---|---|---|
| SiteService | Facility | SiteService | Facility |
|
Self Screen |
Self Screen Other controls |
none |
none |
The sparkline does not send its SiteService or facility to other controls.