a bug on exponential values at 0.0 axis

TeeChart for Java (NetBeans, Eclipse, Android Studio, etc)
Post Reply
Jonathan
Newbie
Newbie
Posts: 60
Joined: Tue Mar 11, 2008 12:00 am
Location: Austin

a bug on exponential values at 0.0 axis

Post by Jonathan » Mon Feb 09, 2009 10:40 pm

Hi,

I found a bug within Teechart lib v1 and v2. While this "#.#######" kind of value format is working fine with small values, exponential value format for the small values is not working properly at 0.0 axis.

Please try to run the following code and you will see "1.39E-16" at min(Y axis values) instead of 0 (zero)
------------------------------------------------------------
import javax.swing.JFrame;
import javax.swing.JPanel;

import com.steema.teechart.TChart;
import com.steema.teechart.styles.*;

public class TestForZeroAxis {
public static void main(String[] args) {
int panelsize=600;
JFrame frame = new JFrame();
JPanel panel = new JPanel();
panel.setSize(panelsize, panelsize);
TChart chart = new TChart();
chart.getAxes().getBottom().setIncrement(1);
chart.getAxes().getLeft().getLabels().setValueFormat("0.00E0");
panel.add(chart);

Points p = new Points(chart.getChart());
p.add(1,0.99);
p.add(2,0.135);
p.add(3,0.025);
p.add(4,0.012);
p.add(5,0.433);

frame.add(panel);
frame.setSize(panelsize, panelsize);
frame.setVisible(true);
}
}
------------------------------------------------------------

If you change the valueformat to setValueFormat("#.######"), it works fine. Is this bug going to be fixed any soon? Or Is there a quick way I can fix this issue while waiting for the next fixed version?

Thanks,
Jonathan

Yeray
Site Admin
Site Admin
Posts: 9613
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Post by Yeray » Tue Feb 10, 2009 11:21 am

Hi Jonathan,

Yes, you are right. I've added the issue to the wish list to be fixed in future releases (TJ71013849).
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Jonathan
Newbie
Newbie
Posts: 60
Joined: Tue Mar 11, 2008 12:00 am
Location: Austin

When would it be for future releases (TJ71013849)?

Post by Jonathan » Tue Feb 10, 2009 3:46 pm

When would it be for future releases (TJ71013849)?

In other words, do you have a schedule for releasing "TJ71013849" version? If so, when is it going to be roughly? (It doesn't have to be exact, but if possible, I'd like to know when it would be.)

Thanks,
Jonathan

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

Post by Narcís » Tue Feb 10, 2009 4:00 pm

Hi Jonathan,

Sorry at the present moment we haven't fixed a date for next TeeChart for Java v2 maintenance release neither I can tell if TJ71013849 will be fixed in it. IMHO it's possible it will be fixed but I can not commit for now.

We may also be able to send you source code files involved with this bug when it's fixed so that you don't have to wait for the maintenance release being published.

I recommend you to be aware at this forum or subscribe to our RSS news feed for new release announcements.

Thanks in advance.
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

Jonathan
Newbie
Newbie
Posts: 60
Joined: Tue Mar 11, 2008 12:00 am
Location: Austin

Post by Jonathan » Tue Feb 10, 2009 4:02 pm

Thanks Yeray and Narcís for your answers.

- Jonathan

Jesse
Newbie
Newbie
Posts: 28
Joined: Tue Mar 11, 2008 12:00 am
Location: Austin, TX

Post by Jesse » Wed Feb 11, 2009 9:59 pm

We are getting a great deal of complaint about this bug, so please give this your attention as soon as you can.

The product is now going out to more customers and it is embarrassing to have to tell them that we cannot fix the problem.

Thanks,
Jesse

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

Post by Narcís » Thu Feb 12, 2009 10:36 am

Hi Jesse,

Yes, this is a high priority bug to be fixed. We recommend you to be aware at this forum or subscribe to our RSS news feed for new release announcements and what's fixed on them.

Thanks in advance.
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

Post Reply