Gradient Ramp
Last updated
Was this helpful?
Last updated
Was this helpful?
The Gradient Widget provides intuitive data visualization through a sloped bar with a smooth color gradient. It’s designed to represent values on a continuous scale, helping users interpret trends, thresholds, and performance metrics at a glance.
Common use cases include displaying:
Signal strength
Temperature levels
Battery status
Title
Optional. Set a custom name for the widget.
Datastream
Choose the datastream to visualize.
Override Min/Max
Optionally override the datastream’s default min/max value limits.
Gauge Shape
Choose visual style: • Solid • Ascending • Descending
Show Min/Max Values
Toggle display of the min/max values on the widget.
Show Value
Toggle display of the current value.
Show Bottom Label
Show or hide the label below the widget.
Ramp Color
Choose a solid color or gradient appearance.
Bottom Label: Maximum 100 characters
You can update widget properties programmatically using:
Where:
vPin — Virtual pin assigned to the widget
widgetProperty — Property you want to change
propertyValue — New value for that property
Warning: Avoid placing Blynk.setProperty() in the loop() function — this may flood the server and disconnect your device. Use timers or event-based updates instead.
You can change the following properties from hardware or via the HTTP API:
label
isHidden
isDisabled
Example (hardware):
Example (HTTP API):