Page 1 of 1

Set offset for nearest point

Posted: Thu Nov 09, 2006 9:39 am
by 9089070
I use offset fo scBar

Code: Select all

m_Chart.Series(0).GetAsBar().SetOffsetPercent( -50 );
And I need nearest point have offset too.
How I can fix this problem?
Yhanks You for answers.

Posted: Thu Nov 09, 2006 10:13 am
by narcis
Hi Nuzur,

This works fine for me here using v7.0.1.2. If the bar has offset and the nearest point tool is associated to this bar series it automatically calculates nearest point considering the offset.

Which TeeChart version are you using? If the problem persists please send us an example we can run "as-is" to reproduce the problem here.

You can post your files at news://www.steema.net/steema.public.attachments newsgroup.

Thanks in advance.

Posted: Thu Nov 09, 2006 11:05 am
by 9089070
I use 6 version.
It doesn't work well. It's show at start of bar and I need show at end bar :(

Posted: Mon Nov 13, 2006 2:50 pm
by Pep
Hi Nuzur,

this is as designed, I'm afraid the only way to accomplish that would be to simulate the NearestPoint tool manually.
However I've added this feature on our wish list to be considered for further releases (allow to choose the position in the pointer).