You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Most probably the issue is that buf is local and if multiple draw_tasks are executed in the event LVGL adds them to a list, and when the rectangle will be drawn later, buf will be already lost.
I suggest using a rectangle drawing followed by a label drawing and set draw_label_dsc->text_local = 1 to make LVGL store a copy of the buffer.
LVGL version
v9.1.1
What happened?
When using
lv_example_chart_3
,it can display pop-up values when a point is pressed,
https://github.com/lvgl/lvgl/blob/master/examples/widgets/chart/lv_example_chart_3.c
And when using
lv_example_chart_5
,it can create a faded area line.
https://github.com/lvgl/lvgl/blob/master/examples/widgets/chart/lv_example_chart_5.c
However, when combining them together,
the graph with the faded area line fails to display the values correctly when touched.
I wish to create the chart with the faded area line
with the value pop-up when pressing a point.
How to solve the issue ?
How to reproduce?
The text was updated successfully, but these errors were encountered: