Box Chart axis labels problem for values in range of 1.0E-15

TeeChart for Java (NetBeans, Eclipse, Android Studio, etc)
Post Reply
GFoundries
Newbie
Newbie
Posts: 14
Joined: Wed May 21, 2008 12:00 am

Box Chart axis labels problem for values in range of 1.0E-15

Post by GFoundries » Mon Oct 04, 2010 9:50 pm

I am trying to create a box plot with the following values and it does not show any labels. I have tried to set max, min and increment in different combination but could not see any labels. I did some experiment by multiplying the values with 1.0E2, 1.0E3 and 1.0E4 and the labels started showing up.

Please let me know what can be done to show the labels as it is critical and most of the test results are in the range of 1.0E-15. Also attaching the charts generated.

5.0E-12
1.0E-14
1.0E-14
1.0E-14
1.0E-14
1.0E-14
1.0E-14
1.0E-14
1.0E-14
1.0E-14
1.0E-14
1.0E-14
1.0E-14
9.0E-15
7.0E-15
7.0E-15
6.0E-15
7.0E-15
6.0E-15
6.0E-15
6.0E-15
6.0E-15
6.0E-15
6.0E-15
5.0E-15
6.0E-15
7.0E-15
6.0E-15
6.0E-15
6.0E-15
7.0E-15
6.0E-15
7.0E-15
6.0E-15
6.0E-15
6.0E-15
6.0E-15
6.0E-15
6.0E-15
9.0E-15
6.0E-15
6.0E-15
6.0E-15
7.0E-15
6.0E-15
6.0E-15
5.0E-15
5.0E-15
5.0E-15
5.0E-15
5.0E-15
5.0E-15
8.0E-15
6.0E-15
6.0E-15
6.0E-15
7.0E-15
6.0E-15
7.0E-15
6.0E-15
6.0E-15
6.0E-15
6.0E-15
6.0E-15
6.0E-15
7.0E-15
6.0E-15
5.0E-15
5.0E-15
6.0E-15
6.0E-15
7.0E-15
5.0E-15
5.0E-15
6.0E-15
6.0E-15
5.0E-15
6.0E-15
1.0E-14
8.0E-15
8.0E-15
7.0E-15
8.0E-15
7.0E-15
8.0E-15
7.0E-15
7.0E-15
7.0E-15
7.0E-15
6.0E-15
7.0E-15
8.0E-15
6.0E-15
6.0E-15
5.0E-15
6.0E-15
5.0E-15
6.0E-15
5.0E-15
5.0E-15
5.0E-15
5.0E-15
5.0E-15
5.0E-15
8.0E-15
7.0E-15
7.0E-15
6.0E-15
7.0E-15
7.0E-15
7.0E-15
6.0E-15
6.0E-15
6.0E-15
6.0E-15
6.0E-15
6.0E-15
1.0E-14
1.0E-14
1.0E-14
1.0E-14
1.0E-14
1.0E-14
1.0E-14
9.0E-15
9.0E-15
9.0E-15
8.0E-15
8.0E-15
8.0E-15
1.0E-14
1.0E-14
1.0E-14
1.0E-14
1.0E-14
1.0E-14
1.0E-14
1.0E-14
1.0E-14
1.0E-14
1.0E-14
1.0E-14
1.0E-14
1.0E-14
9.0E-15
8.0E-15
8.0E-15
9.0E-15
8.0E-15
9.0E-15
8.0E-15
8.0E-15
8.0E-15
8.0E-15
8.0E-15
8.0E-15
Chart.jpeg
Chart.jpeg (13.61 KiB) Viewed 9049 times
Attachments
Chart_1.0E3.jpeg
Chart_1.0E3.jpeg (19.8 KiB) Viewed 9058 times
Chart_1.0E2.jpeg
Chart_1.0E2.jpeg (14.34 KiB) Viewed 9043 times

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

Re: Box Chart axis labels problem for values in range of 1.0E-15

Post by Yeray » Fri Oct 08, 2010 11:05 am

Hi GFoundries,

I think that this should format your Left Axis Labels to show the labels as you want:

Code: Select all

tChart1.getAxes().getLeft().getLabels().setValueFormat("0.0 'x10'E-0");
However it doesn't work as I expected so I've added it to the wish list to be investigated further (TJ71015194).
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

GFoundries
Newbie
Newbie
Posts: 14
Joined: Wed May 21, 2008 12:00 am

Re: Box Chart axis labels problem for values in range of 1.0E-15

Post by GFoundries » Fri Oct 08, 2010 11:52 am

Hi Yeray,

How soon can we expect it to be fixed in the TChart Library? We have a lot of values in the range specified and the charts are unusable if the axis labels don't show up properly. Is it possible to fix in the next patch release?

Regards,
Ram

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

Re: Box Chart axis labels problem for values in range of 1.0E-15

Post by Yeray » Fri Oct 08, 2010 2:24 pm

Hi Ram,

I'm afraid I can't tell you a date for this to be implemented.
In the meanwhile you could try with custom labels to format the labels your own:

Code: Select all

        tChart1.getAxes().getLeft().getLabels().getItems().clear();
        tChart1.getAxes().getLeft().getLabels().getItems().add(5.0E-12, "5.0E-12");
        tChart1.getAxes().getLeft().getLabels().getItems().add(6.0E-15, "6.0E-15");
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

Post Reply