Page 1 of 1

When change the page of TChart, the cursorline disappeared

Posted: Fri Mar 14, 2014 8:22 am
by 16566869
When change the page of TChart, the cursorline disappeared,
the style of which is cssHorizontal...
while the one of cssVertical is OK.

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

Posted: Fri Mar 14, 2014 2:51 pm
by narcis
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.

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

Posted: Sun Mar 16, 2014 4:48 am
by 16566869
Please download the example project from here.
https://onedrive.live.com/redir?resid=5 ... 0ADC%21220

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

Posted: Sun Mar 16, 2014 4:50 am
by 16566869
Cursor.png
Cursor.png (125.5 KiB) Viewed 9680 times
TeeVersion.png
TeeVersion.png (99.58 KiB) Viewed 9682 times

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

Posted: Mon Mar 17, 2014 4:13 pm
by yeray
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.

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

Posted: Tue Mar 18, 2014 11:58 am
by 16566869
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

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

Posted: Fri Mar 21, 2014 9:17 am
by narcis
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.