Page 1 of 1

Dragging charts on a dashboard

Posted: Wed Feb 19, 2020 12:48 pm
by 16587311
I'm trying to add functionality to allow users to reorder charts on a dashboard and save their positions in the underlying database. I've tried using the OnDragDrop and OnEndDock events on TDashboard, but they don't seem to fire, so I'm guessing that the events are on the charts themselves?

Could you provide any pointers on how I can implement this functionality please?

Re: Dragging charts on a dashboard

Posted: Mon Feb 24, 2020 10:37 am
by Pep
Hello,

the TChart events should be configured on the charts themselves, as the TDashboard component uses SubChart component in order to add Charts.
Before to try to prepare a small code example, could you please confirm which version you're using (vcl or ActiveX) ?

Thanks