Heatmap Chart
Last updated
Last updated
Available to PRO and Enterprise plans subscribers.
Note: please remember that web and mobile app widgets are set up separately in the Web Dashboard and Mobile App Dashboard sections correspondingly. They can still use the same datastreams to access the same data (Map widget is an exception – a different codebase is used for Map on mobile and web).
Heatmap Chart is a two-dimensional visual representation of data, where X-axis is time, and Y-axis is a value visualized with color intensity.
An example of use could be a chart of temperature change depicted in color, but it can also be used to visualize on/off or mode states.
It's possible to plot up to 5 datastreams in one widget. Only INT, DOUBLE, and ENUM datastreams are supported.
When using ENUM type, colors will be taken from Datastream settings, for others you can set your own color mapping.
How data will be aggregated:
AVG will plot average value per minute;
Raw will plot using all the data available (PRO plan only)
MIN will plot the minimum value per minute;
MAX will plot the maximum value per minute;
ENUM will only work with Raw aggregation type
Set the color scale to color the incoming values.
When using ENUM datastream, colors will be taken from datastream settings, for others you can set your own colors.
To send data to the chart, use standard command:
where vPin
is a number, and value
is the actual value you want to send.
Don't put Blynk.virtualWrite()
into the void loop()
as it can cause a flood of messages and your hardware will be disconnected from the server for spam. Send such updates only when necessary, or use timers as described below.
Here is a C++ code example to update the chart using timer. You can find a full code example for your hardware here.
You can also use HTTPs API to send data. Check the articles below:
Update Datastream ValueUpload a Set of Timestamped Data