Annotation problem on OnMouseEnterSeries event

TeeChart for ActiveX, COM and ASP
Post Reply
jason
Newbie
Newbie
Posts: 9
Joined: Mon Jun 21, 2004 4:00 am
Location: iit

Annotation problem on OnMouseEnterSeries event

Post by jason » Thu Jul 15, 2004 11:54 am

I set annotation displayed when mouse over bars.
The annotation displays well at the beginning when I move the mouse from the left side of bar chart and keep mouse on different bars from left to right.But it can't display anything once I move the mouse back to left during the time before getting out the bars area.
But it works well if I move the mouse from right side of chart.
How could it be ? What can I do ?

Thanks.
Jason

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

Post by Pep » Mon Jul 19, 2004 1:57 pm

Hi Jason,

could you please post an example into the steema.public.attachments newsgroup with which I can reproduce the problem "as is" here ?

jason
Newbie
Newbie
Posts: 9
Joined: Mon Jun 21, 2004 4:00 am
Location: iit

Post by jason » Tue Jul 20, 2004 3:55 am

Hi Josep,
Failed to find steema.public.attachments newsgroup. May I have your email and send a sample to you directly ?
Thanks.

jason
Newbie
Newbie
Posts: 9
Joined: Mon Jun 21, 2004 4:00 am
Location: iit

Post by jason » Tue Jul 20, 2004 3:59 am

One more question.
How can I get commas displayed in a long figure for a tip? Any method available to transform figures automatically ?
Thanks a lot.

Jason

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

Post by Pep » Tue Jul 20, 2004 7:25 am

Hi Jason,
Failed to find steema.public.attachments newsgroup. May I have your email and send a sample to you directly ?
yes, you can send me it directly to pep@steema.com
How can I get commas displayed in a long figure for a tip? Any method available to transform figures automatically ?
What is actually displayed in the TeeChart will depend on the locale defined in the Windows Regional Options, more specifically in what is set in the Decimal Separator and Digit Grouping Symbol under "Numbers". For example, I run a US version of Win2K with the local set as "Catalan" (which uses the Number format used by Spanish and German) and when I run the following VB code:

Private Sub Form_Load()
With TChart1
.AddSeries scBar
.Axis.Bottom.Labels.Angle = 90
For i = 37000 To 37028
.Series(0).AddXY i, Rnd * 100, "", clTeeColor
Next i
End With
End Sub

The numbers on the bottom axis appear as "37.012", "37.014" etc. Opening "Regional Settings" and changing the locale in "General", the default locale in "Input Locales" and the locale in the toolbar to English (United Kingdom) and running the code above gives me "37,012", "37.014" etc.on the bottom axis without any need for further programming.

Post Reply