Loading

annotation

NameDefault
--warp-view-chart-label-color#8e8e8e
--warp-view-chart-grid-color#8e8e8e
NameTypeDescription
dataGTS, GTS[]Data to display, non-numeric GTS only
globalParamsOptionGlobal options (see above) concerning this tile
paramsOption[]List of options (see above) concerning each displayed dataset depending of the index of this array
eventsEvents[]List of events to emit (see below)

Supported option per series are:

  • datasetColor: Hex CSS color of the series. ie: '#fff00f'

Sample

<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