annotation
Name | Default |
--warp-view-chart-label-color | #8e8e8e |
--warp-view-chart-grid-color | #8e8e8e |
Name | Type | Description |
data | GTS , GTS[] | Data to display, non-numeric GTS only |
globalParams | Option | Global options (see above) concerning this tile |
params | Option[] | List of options (see above) concerning each displayed dataset depending of the index of this array |
events | Events[] | List of events to emit (see below) |
Supported option per series are:
- datasetColor: Hex CSS color of the series. ie: '#fff00f'
Samples
Simple annotation
<div style="height: 500px">
<discovery-tile url="https://sandbox.senx.io/api/v0/exec" type="annotation" chart-title="annotation chart">
0 5 <%
'j' STORE
NEWGTS 'serie' $j TOSTRING + RENAME 'gts' STORE
0 30 <%
'ts' STORE $gts $ts RAND + STU * NOW + NaN NaN NaN "t" ADDVALUE DROP
%> FOR
$gts
%> FOR
</discovery-tile>
</div>
0 5 <%
'j' STORE
NEWGTS 'serie' $j TOSTRING + RENAME 'gts' STORE
0 30 <%
'ts' STORE $gts $ts RAND + STU * NOW + NaN NaN NaN "t" ADDVALUE DROP
%> FOR
$gts
%> FOR