questions about ErrorBar Series
questions about ErrorBar Series
We are being used Teechart 7.0.1.4 ActiveX and development language is Viual C++ 6.0
There are three kinds of questions about ErrorBar Series
1. MarkText is Masked behind bar
2. How to express from Error bars'T' now to '|'
Please see the attached image file. how to express the same form like chart in excel
3. Is it possible to debug error which MarkTip menu is not displayed on IE ?
( It successed in TeeChart6.0 but failed in TeeChart7.0)
please answer above questions
There are three kinds of questions about ErrorBar Series
1. MarkText is Masked behind bar
2. How to express from Error bars'T' now to '|'
Please see the attached image file. how to express the same form like chart in excel
3. Is it possible to debug error which MarkTip menu is not displayed on IE ?
( It successed in TeeChart6.0 but failed in TeeChart7.0)
please answer above questions
Re: questions about ErrorBar Series
Hi Seth,
Thanks in advance.
That happens because of the order of drawing. If you want the marks to be drawn on the top of everything, you should draw them by yourself directly to the canvas as in the following example:Seth wrote:1. MarkText is Masked behind bar
Code: Select all
Private Sub Form_Load()
TChart1.Aspect.View3D = False
Dim i As Integer
For i = 0 To 2
TChart1.AddSeries scErrorBar
TChart1.Series(i).asErrorBar.AddErrorBar 0, (((i + 1) Mod 2) + 1) * 1000, 200, "", clTeeColor
TChart1.Series(i).asErrorBar.AddErrorBar 1, (((i + 1) Mod 2) + 1) * 1000, 200, "", clTeeColor
TChart1.Series(i).asErrorBar.AddErrorBar 2, (((i + 1) Mod 2) + 1) * 1000, 200, "", clTeeColor
'TChart1.Series(i).Marks.Visible = True
'TChart1.Series(i).Marks.Font.Size = 20
Next i
TChart1.Axis.Left.MaximumOffset = 50
End Sub
Private Sub TChart1_OnAfterDraw()
Dim i, j, XPos, YPos As Integer
For i = 0 To 2
For j = 0 To TChart1.Series(i).Count - 1
TChart1.Canvas.Font.Size = 20
XPos = TChart1.Series(i).CalcXPos(j) - (TChart1.Canvas.TextWidth(Str$(TChart1.Series(i).YValues.Value(j))) / 5)
YPos = TChart1.Series(i).CalcYPos(j) - TChart1.Canvas.TextHeight(Str$(TChart1.Series(i).YValues.Value(j)))
TChart1.Canvas.TextOut XPos, YPos, Str$(TChart1.Series(i).YValues.Value(j))
Next j
Next i
End Sub
This is possible in VCL but not yet in ActiveX. I've added it to the wish list to be implemented in future releases (TA05014618).Seth wrote:2. How to express from Error bars'T' now to '|'
I'm not sure too understand what are you exactly trying to do here. Could you please send us a simple example project we can run as-is to reproduce the problem here?Seth wrote:3. Is it possible to debug error which MarkTip menu is not displayed on IE ?
Thanks in advance.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: questions about ErrorBar Series
Q: 3. Is it possible to debug error which MarkTip menu is not displayed on IE ?
A: I'm not sure too understand what are you exactly trying to do here. Could you please send us a simple example project we can run as-is to reproduce the problem here?
So, I'll show you an example.
1. You can execute this url. http://211.215.58.66/report/ymhl/teechart7cab.htm
2. Click Add a Series and fill values
3. Click Show TeeChart Editor dialog
4. Select Tools->Add->Mark Tips
5. Click or Move the mouse, You can't see Mark ToolTip
This problem occurs only on IE. In other Application ,such as VB or VC, it doesn't occur.
Can this problem be fixed?
If not, do you have other ways?
Test this problem, And answer soon please.
A: I'm not sure too understand what are you exactly trying to do here. Could you please send us a simple example project we can run as-is to reproduce the problem here?
So, I'll show you an example.
1. You can execute this url. http://211.215.58.66/report/ymhl/teechart7cab.htm
2. Click Add a Series and fill values
3. Click Show TeeChart Editor dialog
4. Select Tools->Add->Mark Tips
5. Click or Move the mouse, You can't see Mark ToolTip
This problem occurs only on IE. In other Application ,such as VB or VC, it doesn't occur.
Can this problem be fixed?
If not, do you have other ways?
Test this problem, And answer soon please.
Re: questions about ErrorBar Series
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: questions about ErrorBar Series
I already looked into that thread.
In that article
For display Mark-Tip in IE7 or IE8, Do we have to use annotation in script?
ex) TChart1.Tools.Items(0).asAnnotation.Left = X
But we want to display Mark-Tips in Click Editor dialog->Tools->Add->Mark Tips .
Can't we do that?
Please Check our sample again, and answer as soon as possible.
In that article
For display Mark-Tip in IE7 or IE8, Do we have to use annotation in script?
ex) TChart1.Tools.Items(0).asAnnotation.Left = X
But we want to display Mark-Tips in Click Editor dialog->Tools->Add->Mark Tips .
Can't we do that?
Please Check our sample again, and answer as soon as possible.
Re: questions about ErrorBar Series
Hi Seth,
Yes, there are some problems with MarkTips tool and IE7 and IE8. As Narcís suggested in the thread mentioned above, you can use Annotation tool instead of MarkTips.
Yes, there are some problems with MarkTips tool and IE7 and IE8. As Narcís suggested in the thread mentioned above, you can use Annotation tool instead of MarkTips.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: questions about ErrorBar Series
Thank you for your answer.
We have to Annotation for displaying Mark-Tip.
Our product is developed in VC++.
So, we need some samples using VC++.
Please send them to my e-mail.
I'll be waiting for your favor.
We have to Annotation for displaying Mark-Tip.
Our product is developed in VC++.
So, we need some samples using VC++.
Please send them to my e-mail.
I'll be waiting for your favor.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: questions about ErrorBar Series
Hi Seth,
Thanks in advance.
This issue was for web applications, not for desktop applications.We have to Annotation for displaying Mark-Tip.
For VC++ samples please look at Tutorial 15 - MS VC++ Applications and the examples included with the installation at C:\Program Files\Steema Software\TeeChart Pro v8 ActiveX Control\Examples\Visual C++ (Default English installations path).Our product is developed in VC++.
So, we need some samples using VC++.
Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: questions about ErrorBar Series
Hi, Narcís.
I got your answer, but I don't want to this samples.
I need some examples for displaying Mark-Tips in VC++.
So, I'll ask you a favor again.
I got your answer, but I don't want to this samples.
I need some examples for displaying Mark-Tips in VC++.
So, I'll ask you a favor again.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: questions about ErrorBar Series
Hi Seth,
You just need to do this in VC++:
or:
For its properties, component architecture in VC++ is the same as it's in VB6.
You just need to do this in VC++:
Code: Select all
m_Chart1.GetTools().Add(tcMarksTip);
Code: Select all
m_Chart1.GetTools().Add(8);
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: questions about ErrorBar Series
Hello,
I have a another question for you.
In First Paragh, my question
: 2. How to express from Error bars'T' now to '|'
Your answer is :
Is it TeeChart version 7.0 or after version 8.0?
I'll waiting your answer soon.
Thank you.
I have a another question for you.
In First Paragh, my question
: 2. How to express from Error bars'T' now to '|'
Your answer is :
So, I wonder about a schedule that you'll this function.This is possible in VCL but not yet in ActiveX. I've added it to the wish list to be implemented in future releases (TA05014618).
Is it TeeChart version 7.0 or after version 8.0?
I'll waiting your answer soon.
Thank you.
Re: questions about ErrorBar Series
Hi Seth,
I can't tell you a date for the next TeeChart ActiveX maintenance release and I can't even assure you that this feature will be included on it but I don't think that it will be a v7 new feature.
I recommend you to be aware at this forum or subscribe to our RSS news feed for new release announcements and what's implemented on them.
I can't tell you a date for the next TeeChart ActiveX maintenance release and I can't even assure you that this feature will be included on it but I don't think that it will be a v7 new feature.
I recommend you to be aware at this forum or subscribe to our RSS news feed for new release announcements and what's implemented on them.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |