Drag Point problem in TeeChart

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Rakesh
Newbie
Newbie
Posts: 1
Joined: Fri Aug 26, 2005 4:00 am

Drag Point problem in TeeChart

Post by Rakesh » Tue Aug 08, 2006 2:12 am

We would like to use TDragPointTool for LineSeries in TeeChart. We want to drag LineSeries on Y axis(Left Y axis and Right Y axis) of TeeChart. It works fine for Left Y- axis of TeeChart, but it is not working for Right Y axis. To allow drag facility in TeeChart we have written the following code:



Series1->SeriesColor = clYellow;

Series1->LinePen->Width = 3;



m_dragPoint = new TDragPointTool(this);

m_dragPoint->DragStyle = dsY;

m_dragPoint->ParentChart = Chart1;

m_dragPoint->Series = Series1;

m_dragPoint->OnDragPoint = DragPointEvent;



Can you please suggest a solution for this issue?


Thanks,
Rakesh

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

Post by Pep » Tue Aug 08, 2006 7:23 am

Hi Rakesh,

how are you assigning the left and right axis for the Series ? I've just
test it here setting "left and right" axis option as vertical axis for the
Series and worked fine.

Post Reply