delete arrows in chart (canvas)

TeeChart for ActiveX, COM and ASP
Post Reply
jika
Newbie
Newbie
Posts: 27
Joined: Mon Mar 18, 2013 12:00 am

delete arrows in chart (canvas)

Post by jika » Sun Jun 23, 2013 7:04 pm

Please find attached my chart.
At the top of the chart I draw an arrow ( TChart1>>Canvas ...).
You advised me for the programming.
In this chart I added points in real time.
In my project I delete the chart and I draw a new chart with other parameters (TChart1 >> CLEARCHART).
The chart is deleted but the arrows do not disappear.
how to remove the arrows?
Attachments
Capture.PNG
Capture.PNG (8.18 KiB) Viewed 6538 times

Yeray
Site Admin
Site Admin
Posts: 9613
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: delete arrows in chart (canvas)

Post by Yeray » Wed Jun 26, 2013 8:43 am

Hi,
jika wrote:At the top of the chart I draw an arrow ( TChart1>>Canvas ...).
jika wrote:The chart is deleted but the arrows do not disappear.
how to remove the arrows?
jika wrote:In my project I delete the chart and I draw a new chart with other parameters (TChart1 >> CLEARCHART).
Simply stop drawing the lines when you want.
Note you are calling the custom drawing functions at the AfterDraw event. This means, you are drawing manually the lines above the chart, each time the chart is drawn. If, at any time you want to stop drawing the lines, you need to add some control to when the custom drawing actions have to be executed and when not.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply