Is there a way to get the object(s) below the mouse cursor (or at a certain position x/y) ? I can't seem to find a function... :/
You need to do it manually.
Figure out where the mouse is (pick it up from either CHARTEVENT_CLICK or CHARTEVENT_OBJECT_CLICK or CHARTEVENT_MOUSE_MOVE)
Figure out where the object is (ObjectGetInteger).
See if the mouse x/y is within the object's area.
void OnChartEvent(const int id, const long& lparam, const double& dparam, const string& sparam)
if(id==CHARTEVENT_OBJECT_CLICK && sparam==line_name) // line has been clicked