Skip to content

warp view 3d line

Steven GUEGUEN edited this page Oct 27, 2020 · 5 revisions

3D line component

type = line3d

3dline

CSS vars

  • Tooltip
    • --warp-view-chart-legend-bg
    • --warp-view-chart-legend-color
  • Size
    • --warp-view-chart-width
    • --warp-view-chart-height
  • Colors
    • --warp-view-chart-grid-color
    • --gts-classname-font-color

Attributes

See common attributes

Events

See common events

Data format

GTS, GTS array or complex data.

  • x: latitude when available or timestamp
  • y: longitude when available or value
  • z: elevation when available or value when lat/lon available, else 0

Complex data params

See common params

Options and globalParams

See common options

Sample

<warpview-tile
          url="https://warp.senx.io/api/v0/exec"
          responsive="true"
          type="line3d">
0 5 <% 'j' STORE
    NEWGTS 'series' $j TOSTRING + RENAME 'gts' STORE
    0 10 <%
        'i' STORE
        $gts NOW $i RAND + STU * - RAND RAND RAND 1000.0 * RAND  ADDVALUE DROP
    %> FOR
    $gts
%> FOR
</warpview-tile>