Search found 7 matches

by michael.kuettner
Thu Nov 20, 2014 10:10 am
Forum: JFreeChart
Topic: How to aviod axis label and legend scaling
Replies: 5
Views: 8403

Re: How to aviod axis label and legend scaling

The following lines solved this issue:

Code: Select all

    chartpanel.setMinimumDrawHeight(50);
    chartpanel.setMaximumDrawHeight(5000);

    chartpanel.setMinimumDrawWidth(50);
    chartpanel.setMaximumDrawWidth(5000);
Now the ChartPanel scales without distortion.
Thanks!
by michael.kuettner
Sun Nov 16, 2014 12:14 pm
Forum: JFreeChart
Topic: How to aviod axis label and legend scaling
Replies: 5
Views: 8403

Re: How to aviod axis label and legend scaling

I don't want the whole panel to have a fixed size. The ChartPanel should scale into available space if the user resizes the frame. That's ok.
But i would like the text next to axis and the text in the legend to keep a fixed size (e.g. 12pt by default)!
by michael.kuettner
Tue Nov 11, 2014 4:55 pm
Forum: JFreeChart
Topic: How to aviod axis label and legend scaling
Replies: 5
Views: 8403

How to aviod axis label and legend scaling

For differnent sizes of the charts panel axis label and legend text always scales to different sizes. At very large/wide screens this looks a little bit strange. Is it possible to aviod these scaling? Is it possible to set a fixed size of a fixed area for the axis label? The following two screenshot...
by michael.kuettner
Fri Jul 18, 2008 9:16 am
Forum: JFreeChart
Topic: display very small numbers at axis
Replies: 5
Views: 4452

Using axis.setStandardTickUnits(new StandardTickUnitSource()) works fine!
Thanks for the quick answer!
by michael.kuettner
Fri Jul 18, 2008 8:06 am
Forum: JFreeChart
Topic: display very small numbers at axis
Replies: 5
Views: 4452

This is an example xy series i want to display (current over temperature): -40.0, 1.29233E-11 -40.0, 1.52194E-11 -40.0, 1.31989E-11 -40.0, 1.29233E-11 -40.0, 1.52194E-11 -40.0, 1.31989E-11 25.0, 1.93595E-11 25.0, 1.96145E-11 25.0, 1.9452E-11 25.0, 1.93595E-11 25.0, 1.96145E-11 25.0, 1.9452E-11 25.0,...
by michael.kuettner
Fri Jul 18, 2008 7:46 am
Forum: JFreeChart
Topic: display very small numbers at axis
Replies: 5
Views: 4452

This works for numbers greater than about 10e-7. For lower values the same thing happens: 00.0E0 is displayed. It can also happen that just nothing is displayed at the axis if i zoom in a little bit more.

Is there any rounding issue? Can i force the chart to use full double precision?
by michael.kuettner
Thu Jul 17, 2008 2:58 pm
Forum: JFreeChart
Topic: display very small numbers at axis
Replies: 5
Views: 4452

display very small numbers at axis

I want to display very small numbers (downto 10e-20). If values get lower that 10e-6 only 0.000000 is displayed at axis. Is it possible to display scientific numbers (using ..e.. ) at the charts axis?