Cursor tool change with outside buttons

TeeChart for Javascript for the HTML5 Canvas
Post Reply
vishwa
Newbie
Newbie
Posts: 33
Joined: Mon Oct 15, 2007 12:00 am

Cursor tool change with outside buttons

Post by vishwa » Wed Jul 25, 2018 9:44 am

Hi,

I have 4 buttons outside of canvas area, so that if i click left and right buttons cursor position will move right or left for y-axis similar if i click bottom or top buttons x-axis will move or increment to 1 number, i'm trying this and i'm getting issue for first move as chart old value showing differently, how can i achieve this? please give me suggestions or solution. If required more information i can provide.

Regards,
SKumar

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

Re: Cursor tool change with outside buttons

Post by Yeray » Fri Jul 27, 2018 10:47 am

The Cursor tool in TeechartJS wasn't designed to be repositioned by code. See the ticket #821.

Instead, you could draw two lines manually as here.
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

vishwa
Newbie
Newbie
Posts: 33
Joined: Mon Oct 15, 2007 12:00 am

Re: Cursor tool change with outside buttons

Post by vishwa » Wed Aug 01, 2018 4:02 am

Thanks, this is working fine.

Post Reply