Dragging charts on a dashboard

TeeChart for ActiveX, COM and ASP
Post Reply
nickmalden
Newbie
Newbie
Posts: 1
Joined: Wed Oct 30, 2019 12:00 am

Dragging charts on a dashboard

Post by nickmalden » Wed Feb 19, 2020 12:48 pm

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?

Pep
Site Admin
Site Admin
Posts: 3187
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Re: Dragging charts on a dashboard

Post by Pep » Mon Feb 24, 2020 10:37 am

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

Post Reply