Page 1 of 1

Drag Point problem in TeeChart

Posted: Tue Aug 08, 2006 2:12 am
by 9343136
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

Posted: Tue Aug 08, 2006 7:23 am
by Pep
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.