Chart object does not receive click or pressing events in


I want to receive callback events in a chart x tick part.
I have a chart with the tick labels on the top of the chart. I want to receive the pressing events to implement dragging of the tick labels.
However pressing messages are only send in the chart graph part not in the part where the tick labels are shown.
I do get the pressing events in the parent of the chart object but that I loose the correct coordinations.

What MCU/Processor/Board and compiler are you using?

Raspberry PI

What LVGL version are you using?


What do you want to achieve?

Receive pressing events

What have you tried so far?

lv_obj_add_event_cb(chart, pressing_event_cb, LV_EVENT_PRESSING, NULL);