Page 1 of 1

TeeChart2014AX zoom problem

Posted: Mon May 19, 2014 3:10 pm
by 16668933
Hello,

I'm testing Teechart2014AX before use it in production.
I'm finding some problems:
1: The mouse zoom function draw the box not in correct position. The box is drawn outside the window.
2: Using GDIPlus, the dotted line with small thickness (0 or 1) is draw not clear.

Best regards
Giovanni

Re: TeeChart2014AX zoom problem

Posted: Wed May 21, 2014 9:27 am
by 16669271
I am also running into the same problem. Even the demo does this. I am also having a problem with not being able to set the fonts.

Re: TeeChart2014AX zoom problem

Posted: Wed May 21, 2014 11:17 am
by yeray
Hello,
tqm wrote:1: The mouse zoom function draw the box not in correct position. The box is drawn outside the window.
We've been able to reproduce the problem and we're investigating it. We'll be back here asap.
tqm wrote:2: Using GDIPlus, the dotted line with small thickness (0 or 1) is draw not clear.
I'm not sure to understand what do you mean with "not clear". Could you please show us a screenshot indicating what do you see/expect?
cmacleod wrote:I am also running into the same problem. Even the demo does this.
Do you mean #1 or #2 above?
cmacleod wrote:I am also having a problem with not being able to set the fonts.
I think 2 different issues in the same thread is enough, even if they may be related. Could you please open a new thread explaining the problem and how can we reproduce it?

Please, read the instructions below in my signature.

Re: TeeChart2014AX zoom problem

Posted: Thu May 22, 2014 7:42 pm
by 16668787
Sorry to bump in.
Could you also check the cursor tool. This is also drawn outside the chart (not using full repaint).

Greetings,
Jack

Re: TeeChart2014AX zoom problem

Posted: Fri May 23, 2014 8:18 am
by yeray
Hello,
Jack@007 wrote:Could you also check the cursor tool. This is also drawn outside the chart (not using full repaint).
We've already found the fix to the Zoom rectangle problem and we'll publish a maintenance release asap.
We're checking the cursor tool also.

Re: TeeChart2014AX zoom problem

Posted: Mon May 26, 2014 4:17 pm
by 16668933
About not solid line, please create a project with TeeChart6 and past this code:

Private Sub Form_Load()
TChart1.Aspect.View3D = False
TChart1.AddSeries scLine
TChart1.Series(0).Add 1, "", 0
TChart1.Series(0).Add 1, "", 0
TChart1.Series(0).asLine.LinePen.Width = 0
TChart1.Series(0).asLine.LinePen.Style = psDash
TChart1.Axis.Left.GridPen.Visible = False
End Sub

the serie line is dashed with "decent" length.

Now create a project with TeeChart2014AX and a checkbox and paste this code

Private Sub Check1_Click()
TChart1.Aspect.GDIPlus.Active = Check1.Value = vbChecked
End Sub

Private Sub Form_Load()
TChart1.Aspect.View3D = False
TChart1.AddSeries scLine
TChart1.Series(0).Add 1, "", 0
TChart1.Series(0).Add 1, "", 0
TChart1.Series(0).asLine.LinePen.Width = 0
TChart1.Series(0).asLine.LinePen.Style = psDash
TChart1.Axis.Left.GridPen.Visible = False
TChart1.Axis.Bottom.GridPen.Visible = False
End Sub

With GDI+ on the line has dash too small.
With GDI+ off, the line is solid line. Why ?

In Teechart.Net there is DashStyle.Custom and .DashPattern. With it I can "stretch" the dash for a better visualization.
Why TeeChartA2014AX does not support DashStyle.Custom ? (it is a GDI+ feature)

Best regards
Giovanni

Re: TeeChart2014AX zoom problem

Posted: Tue May 27, 2014 3:10 pm
by yeray
Hello,

I can reproduce the problem with a Line series but it works fine with a FastLine. Could you please give it a try?
This comes from this discussion:
http://www.teechart.net/support/viewtop ... =3&t=14565

Re: TeeChart2014AX zoom problem

Posted: Thu May 29, 2014 12:52 pm
by 16668933
Yes the FastLine serie works, but the dash line aspect change enabling or disabling GDI+.
Using the GDI+ the dash is too short and is not clear.
For this reason I think that the best solution is the use of DashStyle.Custom. With it the customer can select the "correct" dash length for every not solid line.

Regards
Giovanni

Re: TeeChart2014AX zoom problem

Posted: Fri Jul 25, 2014 9:20 am
by 16668933
Hi,
I updated the teechart AX2014 with the last Update Release.
The problem on zoom box is fixed.
There are still problems on line style with GDI+ on/off

Regards
Giovanni

Re: TeeChart2014AX zoom problem

Posted: Mon Jul 28, 2014 6:35 am
by Pep
Hello Giovanni,

thanks for the advise. We're going to try to improve the styles in GDI+ mode.

Re: TeeChart2014AX zoom problem

Posted: Mon Dec 01, 2014 10:57 am
by 16668933
Good morning,

I updated the teechart AX with the last version 2014.0.2.141120.
Using GDI+ there are still problems on lines with no solid style (dash, dashdot,...).
The length of the segment is too short and the apparence is not clear.
Furthermore the property DashStyle.Custom is still missing.

Regards
Giovanni

Re: TeeChart2014AX zoom problem

Posted: Wed Dec 10, 2014 12:23 pm
by 10050769
Hello Giovanni,

I apologise with you for the delay.
Using GDI+ there are still problems on lines with no solid style (dash, dashdot,...). The length of the segment is too short and the apparence is not clear.
I would like inform you that I have already added the request in TeeChart VCL Bugzilla tracker. Here’s the link to the ticket: http://bugs.teechart.net/show_bug.cgi?id=1035.
Furthermore the property DashStyle.Custom is still missing.
In TeeChart Pro VCL/FMX and TeeChart Activex the property DashStyle.Custom never has been implemented. That is only implemented in TeechartFor.Net. The request is already added in TeeChart VCL Bugzilla tracker as a future request. Here's the link to the ticket http://bugs.teechart.net/show_bug.cgi?id=265
Feel free to add you email to the both tickets so you can be automatically notified when and update arrives.

Thanks in advance