ToolTip position

TeeChart for JavaScript for the HTML5 Canvas
Post Reply
Jim Green
Newbie
Newbie
Posts: 43
Joined: Thu Aug 03, 2006 12:00 am

ToolTip position

Post by Jim Green » Mon Jul 21, 2014 4:38 pm

Hi, when a tip is shown for a point at the right edge of a chart, part of it can extend off the chart. This causes scroll bars to appear. Is there a way to control the positioning so that the tip always lies within the chart area?

Thanks,
Jim

Marc
Site Admin
Site Admin
Posts: 1272
Joined: Thu Oct 16, 2003 4:00 am
Location: Girona
Contact:

Re: ToolTip position

Post by Marc » Mon Jul 28, 2014 8:56 am

Hello Jim,

A change has been made for inclusion in the next update, to better clip the extreme Point Marks. It is not configurable though, or part of existing functionality, to move the Mark within the Axis bounds. It has been added as a feature request: http://bugs.teechart.net/show_bug.cgi?id=865

Regards,
Marc Meumann
Steema Support

Marc
Site Admin
Site Admin
Posts: 1272
Joined: Thu Oct 16, 2003 4:00 am
Location: Girona
Contact:

Re: ToolTip position

Post by Marc » Mon Jul 28, 2014 3:35 pm

Hello Jim,

I thought I was going to be able to reproduce this easily but that hasn't been the case. Do you have a code snippet or example page you could point me to to better see the problem?

With thanks.
Regards,
Marc
Steema Support

Jim Green
Newbie
Newbie
Posts: 43
Joined: Thu Aug 03, 2006 12:00 am

Re: ToolTip position

Post by Jim Green » Mon Jul 28, 2014 6:07 pm

Marc, I get scroll bars because the chart occupies all of the containing <body>'s area. I can suppress the scroll bars by adding "overflow: hidden" to the body but there is still a positioning issue - the tip is not completely visible for the rightmost couple of bars.

Thanks,
Jim
Attachments
tmpBC11.zip
(2.29 KiB) Downloaded 1185 times

Marc
Site Admin
Site Admin
Posts: 1272
Joined: Thu Oct 16, 2003 4:00 am
Location: Girona
Contact:

Re: ToolTip position

Post by Marc » Tue Jul 29, 2014 12:01 pm

Hello Jim,

Thanks, that made it clearer. I've sent a pre-release modification to your email address for you to evaluate. Please let us know if you were thinking of some other solution to the issue.

Regards,
Marc
Steema Support

Jim Green
Newbie
Newbie
Posts: 43
Joined: Thu Aug 03, 2006 12:00 am

Re: ToolTip position

Post by Jim Green » Tue Jul 29, 2014 1:39 pm

Thanks Marc. Unfortunately the message was deleted by our email filter as containing a virus. I'm guessing the .js file was not zipped? Could you resend and zip the attachment? Thanks.

Marc
Site Admin
Site Admin
Posts: 1272
Joined: Thu Oct 16, 2003 4:00 am
Location: Girona
Contact:

Re: ToolTip position

Post by Marc » Tue Jul 29, 2014 3:07 pm

Hello Jim,

The file was zipped but I've sent you another email with a link to a download.

Regards,
Marc
Steema Support

Post Reply