-2

for layout reasons, i need to know when the width of the range axis changes. For example, when the range of the range axis goes from 1000 - 10000 the domain axis is more "squeezed" than with a range from 1 - 10.

i need this width
.....^
|10000|
...........|
...........|
...........|
...........|
.........1|_________________________________________________ ..............1......................................5..........................................10

  • Cross-posted [here](http://www.jfree.org/forum/viewtopic.php?f=3&t=117530); possible [*xy problem*](http://meta.stackexchange.com/q/66377/163188). – trashgod Mar 09 '16 at 03:03

1 Answers1

0

Problem solved, i can get this width with this way:

chartPanel.getChartRenderingInfo().getPlotInfo().getDataArea().getWidth();
  • [Here](http://www.jfree.org/forum/viewtopic.php?f=3&t=117530#p179592) you ask, "How can i manipulate this width?" Some approaches are examined [here](http://stackoverflow.com/a/10277372/230513). – trashgod Mar 09 '16 at 11:13
  • Thank you very much for your help :) But my main problem now is, to set the width of the data area after the chart is created. – Merihim Mar 10 '16 at 11:33