Page 1 of 1

ClickSeries reports wrong on a scrolled web page

Posted: Tue Feb 03, 2009 4:33 pm
by 13050750
Using VS2008, VB and TeeChart 3.5.3317.17532
Edit: And IE7 as browser.

On my webpage I have Teechart of dimension 600x938. I fill it with 3 series, a bubble, an arrow and a point. ClickSeries and ClickBackground works perfect delivering what I need to know; series , valuepoint, x, y etc.

But when I have the page scrolled down, so that the chart is higher up than on an unscrolled page I get the wrong values returned. X value is still correct, but Y value is way off, and then series and valueindex too. It seems that is somehow tries to compensate for a scrolled page accelerating the offset to about twice the value. If i click above the bubble about the same amount again as the chart is scrolled up it kind of finds the bubble and reports that back.

Very strange and very frustrating. :(

My page is simple. There is no master page, just a simple webpage. Above the chart is a button, a checkbox and a combobox. That is all.

Let me know if you need sample code.

Posted: Wed Feb 04, 2009 1:26 pm
by yeray
Hi mmp,

You are right. It seems that the coordinates are wrong once scrolled so I've added this to the wish list (TW77013819) to be fixed in further releases.

Posted: Wed Feb 04, 2009 4:44 pm
by 13050750
Thank you!

It's always nice to know when there's a bug around, and not going crazy over your own code.

Do you have a rough estimate when (calenderwise) this might get fixed?

Posted: Thu Feb 05, 2009 12:27 pm
by Marc
Hello,

We have checked into the issue reported. Obtaining correct positioning information from different browser types presents challlenges to a generic solution. Our recommendation where possible is to set via Style, the top, left position (and we generally recommend setting width and height too) of the Chart. Doing so in the case of your example project resolves the issue.

To do so, right mouseclick over the Chart and select Style, go to position and set 'Absolute' and the top, left co-ordinates. If you are not able to do this to coincide with your page layout let us know and we'll see what challenges your setup presents.

Regards,
Marc Meumann