Description
Hello!
I want to draw only certain points on a chart (LV_CHART_TYPELINE
), that are of type LV_PART_INDICATOR
. The lines should always remain there, but I would like to manipulate the circles connecting the lines, based on index or other requirements.
I know I can modify all of them at once, using lv_obj_set_style_size(chart, 0, 0, LV_PART_INDICATOR)
, but I could not find a way to individually set only the one with eg. index 10
, to have a specific style.
What MCU/Processor/Board and compiler are you using?
SDL Simulator on Linux.
What LVGL version are you using?
v9.1
What do you want to achieve?
I want to manipulate the style of LV_PART_INDICATOR
s of a chart of type LV_CHART_TYPE_LINE
individually.
What have you tried so far?
I tried querying the children of the chart, in order to manually access each circle indicator, but apparently the chart has no children.