Page 1 of 1

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

Posted: Mon Oct 04, 2010 9:50 pm
by 7668082
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 8888 times

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

Posted: Fri Oct 08, 2010 11:05 am
by yeray
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).

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

Posted: Fri Oct 08, 2010 11:52 am
by 7668082
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

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

Posted: Fri Oct 08, 2010 2:24 pm
by yeray
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");