Page 1 of 1
Mark Tips Tools shows wrong values
Posted: Thu Jul 02, 2009 4:55 am
by 8440512
Hello,
I have added mark tips tools to my chart (fast lines), but is shows wrong values for X-axis and Y-axis. The Y-axis values ranges between 5,400,000 to 10,850,000. Kindly advice.
Regards,
Veeranna Ronad.
Re: Mark Tips Tools shows wrong values
Posted: Thu Jul 02, 2009 3:55 pm
by narcis
Hi Veeranna,
This works fine for me here using code snippet below. Can you please check if it works fine at your end and, if necessary, modify it so that we can reproduce the problem here? Please bear in mind that the tool displays the values of the series point you are hovering, not the values at current mouse location. You may be interested in doing something as in the
Chart Styles\Standard\Line(Strip)\Interpolatin Line Series example in the TeeChart.Features.jar demo or the applet demo here:
http://www.steema.com/products/teechart ... etDemo.htm
Code: Select all
tChart1.getAspect().setView3D(false);
FastLine fastLine1 = new FastLine(tChart1.getChart());
MarksTip marksTip1 = new MarksTip(tChart1.getChart());
marksTip1.setStyle(MarksStyle.XY);
for (int i = 500; i<1100; i++) {
fastLine1.add(i*10000);
}
Hope this helps!
Re: Mark Tips Tools shows wrong values
Posted: Fri Jul 03, 2009 6:10 am
by 8440512
Thanks for the reply NarcĂs.
Same code is working now without any change.
Best,
Veeranna Ronad.