-
Notifications
You must be signed in to change notification settings - Fork 2
warp view display
xavier edited this page Nov 23, 2020
·
4 revisions
type = display
Displays alphanumeric value, a date or a duration
- Size
- --warp-view-chart-width
- --warp-view-chart-height
- Colors
- --warp-view-font-color
GTS, GTS array or complex data.
Name | Type | Default | Description |
---|---|---|---|
timeMode | string |
'custom' | date, duration or custom, custom by default |
bgColor | string |
Background color | |
fontColor | string |
Font color |
<warpview-tile
url="https://warp.senx.io/api/v0/exec"
responsive="true"
type="display">
{ 'data' NOW 5 s - 'globalParams' { 'timeMode' 'duration' } }
</warpview-tile>
<warpview-tile
url="https://warp.senx.io/api/v0/exec"
responsive="true"
type="display">
{ 'data' NOW 'globalParams' { 'timeMode' 'date' } }
</warpview-tile>
<warpview-tile
url="https://warp.senx.io/api/v0/exec"
responsive="true" unit="°C"
type="display">
{ 'data' 42 'globalParams' { 'timeMode' 'custom' } }
</warpview-tile>
<warpview-tile
url="https://warp.senx.io/api/v0/exec"
responsive="true" unit="°C"
type="display">
{
'data' { 'text' 'SenX.io' }
'globalParams' { 'bgColor' '#f57f17' 'fontColor' '#bc5100' }
}
</warpview-tile>
<warpview-tile
url="https://warp.senx.io/api/v0/exec"
responsive="true" unit="°C"
type="display">
{
'data' { 'text' 'SenX.io' 'url' 'https://senx.io' }
}
</warpview-tile>