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
Annotation problem on OnMouseEnterSeries event
Hi Jason,
could you please post an example into the steema.public.attachments newsgroup with which I can reproduce the problem "as is" here ?
could you please post an example into the steema.public.attachments newsgroup with which I can reproduce the problem "as is" here ?
Pep Jorge
http://support.steema.com
http://support.steema.com
Hi Jason,
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.
yes, you can send me it directly to pep@steema.comFailed to find steema.public.attachments newsgroup. May I have your email and send a sample to you directly ?
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:How can I get commas displayed in a long figure for a tip? Any method available to transform figures automatically ?
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.
Pep Jorge
http://support.steema.com
http://support.steema.com