Mark Tips Tools shows wrong values

TeeChart for Java (NetBeans, Eclipse, Android Studio, etc)
Post Reply
SDG
Newbie
Newbie
Posts: 40
Joined: Tue Apr 08, 2003 4:00 am

Mark Tips Tools shows wrong values

Post by SDG » Thu Jul 02, 2009 4:55 am

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.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: Mark Tips Tools shows wrong values

Post by Narcís » Thu Jul 02, 2009 3:55 pm

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!
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

SDG
Newbie
Newbie
Posts: 40
Joined: Tue Apr 08, 2003 4:00 am

Re: Mark Tips Tools shows wrong values

Post by SDG » Fri Jul 03, 2009 6:10 am

Thanks for the reply Narcís.

Same code is working now without any change.

Best,
Veeranna Ronad.

Post Reply