sventon subversion web client - http://www.sventon.org
[show recent changes]
 
  Help
HEAD
Rev: 13521 - svn://svn.freehep.org/svn / freehep / branches / jas-plotter-Reports / src / main / java / jas / plot / DataAreaLayout.java
Unified Diff View - DataAreaLayout.java
Search for Help
/freehep/branches/jas-plotter-Reports/src/main/java/jas/plot/DataAreaLayout.java @ revision 13520
/freehep/branches/jas-plotter-Reports/src/main/java/jas/plot/DataAreaLayout.java @ revision 13521
@@ -128,9 +128,11 @@      if (yAxis_right != null) yAxis_right.assumeAxisLength(y_right_smallest);     } -    xorigin = Math.max(x.width, y_left.width) + Axis.padAroundEdge; +// xorigin = Math.max(x.width, y_left.width) + Axis.padAroundEdge + 100; +    xorigin = 50;     yorigin = Math.max(Math.max(x.height , y_left.height), y_right.height) + Axis.padAroundEdge; -    distFromRightSide = Math.max(x.flowPastEnd, y_right.width) + Axis.padAroundEdge; +// distFromRightSide = Math.max(x.flowPastEnd, y_right.width) + Axis.padAroundEdge; +    distFromRightSide = 30;     final int minWidth = xorigin + distFromRightSide + xAxisLength + insets.left + insets.right;     if (minWidth != parentSize.width) @@ -139,6 +141,7 @@      allLengthsAreAdequate = false;     } +     int minHeight = yorigin + y_left.flowPastEnd + Axis.padAroundEdge +      yLeftAxisLength + insets.top + insets.bottom;     if (minHeight != parentSize.height) @@ -284,7 +287,7 @@  private EditableLabel xAxis_label;  private EditableLabel yAxis_left_label;  private EditableLabel yAxis_right_label; - private static final int pad = 5; + private static final int pad = 0;  private static final SpaceRequirements nullSpaceRequirements = new SpaceRequirements(); // all fields are zero  private int xAxisLength = -1;  private int yLeftAxisLength = -1;


feed icon

sventon 2.5.1