Page 1 of 1

ToolTip position

Posted: Mon Jul 21, 2014 4:38 pm
by 9347097
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

Re: ToolTip position

Posted: Mon Jul 28, 2014 8:56 am
by Marc
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

Re: ToolTip position

Posted: Mon Jul 28, 2014 3:35 pm
by Marc
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

Re: ToolTip position

Posted: Mon Jul 28, 2014 6:07 pm
by 9347097
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

Re: ToolTip position

Posted: Tue Jul 29, 2014 12:01 pm
by Marc
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

Re: ToolTip position

Posted: Tue Jul 29, 2014 1:39 pm
by 9347097
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.

Re: ToolTip position

Posted: Tue Jul 29, 2014 3:07 pm
by Marc
Hello Jim,

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

Regards,
Marc