When change the page of TChart, the cursorline disappeared

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
elmec
Advanced
Posts: 129
Joined: Mon Aug 26, 2013 12:00 am

When change the page of TChart, the cursorline disappeared

Post by elmec » Fri Mar 14, 2014 8:22 am

When change the page of TChart, the cursorline disappeared,
the style of which is cssHorizontal...
while the one of cssVertical is OK.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: When change the page of TChart, the cursorline disappeared

Post by Narcís » Fri Mar 14, 2014 2:51 pm

Hello elmec,

I'm sorry but I don't understand which is your exact problem. I don't have any idea on how to reproduce it neither. As recommended on the forums posting guideline, specially section 2, could you please attach a simple example project we can run "as-is" to reproduce the problem here?

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
Image Image Image Image Image Image
Instructions - How to post in this forum

elmec
Advanced
Posts: 129
Joined: Mon Aug 26, 2013 12:00 am

Re: When change the page of TChart, the cursorline disappeared

Post by elmec » Sun Mar 16, 2014 4:48 am

Please download the example project from here.
https://onedrive.live.com/redir?resid=5 ... 0ADC%21220

elmec
Advanced
Posts: 129
Joined: Mon Aug 26, 2013 12:00 am

Re: When change the page of TChart, the cursorline disappeared

Post by elmec » Sun Mar 16, 2014 4:50 am

Cursor.png
Cursor.png (125.5 KiB) Viewed 9675 times
TeeVersion.png
TeeVersion.png (99.58 KiB) Viewed 9677 times

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: When change the page of TChart, the cursorline disappeared

Post by Yeray » Mon Mar 17, 2014 4:13 pm

Hello elmec,
elmec wrote:When change the page of TChart, the cursorline disappeared,
the style of which is cssHorizontal...
while the one of cssVertical is OK.
Thanks for the project and the screenshots.
Looking at them, I understand both cssHorizontal and cssVertical work fine.
- When cssHorizontal, the cursor tool is drawn as an horizontal line at the center of the screen. If you don't specify an YValue for the cursor, TeeChart initializes it with the value in the center of the left axis range.
Then, changing to a bigger page, the left axis isn't altered and the cursor too is still visible.
- When cssVertical, the cursor tool is drawn as an vertical line at the center of the screen. If you don't specify an XValue for the cursor, TeeChart initializes it with the value in the center of the bottom axis range.
Then, changing to a bigger page, the bottom axis is altered but not the XValue of the cursor tool. Then, the cursor isn't drawn because its XValue is out of the bottom axis range.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

elmec
Advanced
Posts: 129
Joined: Mon Aug 26, 2013 12:00 am

Re: When change the page of TChart, the cursorline disappeared

Post by elmec » Tue Mar 18, 2014 11:58 am

I am sorry that I attached the images for the style of which is cssHorizontal,
which works well just by assigning new X offset when page changed..

I meant to attach the ones for the style of which is cssVertical,
the cursor with the style of cssVertical disappeared when paged changed...
Add I uploaded the new demo ...Please check it.
http://1drv.ms/1d9GOd1

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: When change the page of TChart, the cursorline disappeared

Post by Narcís » Fri Mar 21, 2014 9:17 am

Hello elmec,

Thanks for the new project. It works fine for me here using TeeChart Pro 2014.10.140220, which is the latest release available. Can you please check if this version solves the problem at your end? If I'm not wrong, you are using Borland C++ Builder 6. You can compile the sources for this version enabling the "Legacy IDEs" checkbox in TeeRecompile.

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
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply