better scaling on performance graph

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5610 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
lotus 16 years ago
parent 4aad461100
commit e9e2fff47a

@ -62,8 +62,8 @@ public class plasmaProfiling {
final int rightborder = 30;
final int topborder = 20;
final int bottomborder = 20;
final int leftscale = 10000;
final int rightscale; if (maxmbytes > 3000) rightscale = 500; else if (maxmbytes > 1500) rightscale = 200; else rightscale = 100;
final int leftscale; if(maxwords > 150000) leftscale = maxwords / 150000 * 20000; else leftscale = 10000;
final int rightscale; if (maxmbytes > 1500) rightscale = maxmbytes / 1500 * 200; else rightscale = 100;
final int anotscale = 50;
final int bottomscale = 60;
final int vspace = height - topborder - bottomborder;

Loading…
Cancel
Save