Page 1 of 1

a bug ?

Posted: Wed Jun 27, 2007 2:26 pm
by 9535018
hi,
i am using the color line tool and while i'm draging it i don't receive the events that related to this tool ( TChart2_OnColorLineToolBeginDragLine / OnColorLineToolDragLine / OnColorLineToolEndDragLine).

it happens when the Axis property of the ColorLine tool is set to Right Axis

IDE : vb6
tchart ver : 7.0.1.4

is it a bug?
how can i get over it ?

thanks.

Posted: Wed Jun 27, 2007 2:36 pm
by narcis
Hi koby,

It works fine for me here using our internal TeeChart Pro v7 ActiveX version. I've sent you the .ocx file, could you please try unregistering current one, register new one and check if the problem persists?

Thanks in advance.

Posted: Wed Jun 27, 2007 3:47 pm
by 9535018
Hi Narcís,

I registered the ocx file that you sent me and it still happens.

how can i upload an example code ?

Koby

Posted: Thu Jun 28, 2007 8:59 am
by narcis
Hi Koby,

You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.

Thanks in advance.

upload..

Posted: Thu Jun 28, 2007 9:31 am
by 9535018
Hi Narcís,
i uploaded a file (using the upload page)

i hope it will be helpfull..

thanks,
Koby

Posted: Thu Jun 28, 2007 2:41 pm
by narcis
Hi Koby,

Thanks for the example.

This is because the right axis must be visible:

Code: Select all

Private Sub Form_Load()
    TChart1.Series(0).FillSampleValues 20
    TChart1.Series(0).VerticalAxis = aBothVertAxis
    TChart1.Axis.Right.Visible = False
End Sub
In case you don't want the right axis visible you can hide it using the last lien in the code snippet above.

Thank you !

Posted: Sun Jul 01, 2007 8:57 am
by 9535018
it works !