Here is a simple way to reproduce the Plot dataview of WarpStudio in a Discovery dashboard.

If you are new to Discovery, read this page before this article.
Principles
The WarpStudio's plot view is composed of 3 charts: annotation, line, and map.
In this article, I will cover only annotation and line. Both charts share their time bounds in order to compute the overall timespan. The line chart sends its left margin to the annotation chart.
Discovery Tips&Tricks #1: synchronize zoom and focus Discovery Tips&Tricks #3: Build a form Discovery Tips&Tricks #4: Production-ready! |
The easiest way to achieve synchronization of bounds and annotations' left margin is to use special events:
For time bounds:
And for the left margin:
For this sample, we generate random GTS. The reference timestamp, is passed as a variable.
Dashboard definition
At first, we have to define a gts
variable that holds our random GTS list.
From datasets to dashboard: Covid Tracker built with Warp 10 and Discovery |
Tiles definition
A first tile will emit events for the second and listen to events coming from the other one:
Same principle for the second tile:
All together: https://snapshot.senx.io/0005de432b9123cc-0-7-7837be775b314364
Used WarpScript functions
NEWGTS, STU, RAND, ADDVALUE, FOR
The result
Discover more articles and tutorials about Discovery.
→ Discovery Tips&Tricks #3: Build a form |
Read more
Plug Warp 10 to Apache Nifi to manage your dataflow pipelines
Discovery Tips&Tricks #5 - Points Of Interest
Real-Time Monitoring: Setting Up Alerts, Notifications & Dashboard

Senior Software Engineer