Skip to content

Line Meter~

obj:linemeter

lv_lmeter

Property Value Default Description
min int16 0 minimum value of the indicator
max int16 100 maximum value of the indicator
val int16 0 current value of the indicator
angle 0-360 240 angle between start and end of the scale
line_count uint16 31 tick count of the scale
rotation 0-360 0 offset for the scale angles to rotate it
type 0-1 0 0 = indicator lines are activated clock-wise
1 = indicator lines are activated counter-clock-wise

Use line and scale properties to customize.

Note

min, max and val also support negative values.

Example jsonl
1
{"page":1,"id":12,"obj":"linemeter","x":20,"y":70,"w":200,"h":200,"value_str":"Temp","val":75,"line_count":35,"line_rounded":1}

Last update: 2024-04-26