Difference between revisions of "SVG in Grafana"

From Open Source Controls Wiki
Jump to navigation Jump to search
(Created page with " SVG elements are given attributes:")
 
Line 2: Line 2:


SVG elements are given attributes:
SVG elements are given attributes:
{| class="wikitable"
|+
!Attribute
!Description
!Required
|-
|network
|The network identifier. Not usually specified so dashboard can apply to different networks.
|Rarely
|-
|node
|The node identifier. Not usually specified as irrelevant.
|Rarely
|-
|device
|The device the element it linked to
|Always
|-
|vargroup
|The variable data group
|Good practice
|-
|varkey
|The variable identifier
|Always
|-
|colourmap
|If specified, the elements fill colour will be changed to represent the value.
The default mapping is blue-yellow-red from 0 to 100, best suited to temperatures.
|
|}

Revision as of 22:32, 8 October 2022


SVG elements are given attributes:

Attribute Description Required
network The network identifier. Not usually specified so dashboard can apply to different networks. Rarely
node The node identifier. Not usually specified as irrelevant. Rarely
device The device the element it linked to Always
vargroup The variable data group Good practice
varkey The variable identifier Always
colourmap If specified, the elements fill colour will be changed to represent the value.

The default mapping is blue-yellow-red from 0 to 100, best suited to temperatures.