Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
better scale
Michael Peter Christen0871e43fcc17
diff --git a/htroot/NetworkHistory.java b/htroot/NetworkHistory.javaindex 1390159c3..ef7c329df 100644--- a/htroot/NetworkHistory.java+++ b/htroot/NetworkHistory.java@@ -123,9 +123,9 @@ public class NetworkHistory {if (columns.contains("cI")) headline = "YACY PEER '" + sb.peers.myName() + "' INDEX SIZE HISTORY: NUMBER OF DOCUMENTS";if (columns.contains("cR")) headline = "YACY PEER '" + sb.peers.myName() + "' INDEX SIZE HISTORY: NUMBER OF RWI ENTRIES";ChartPlotter chart = new ChartPlotter(width, height, 0xFFFFFFl, 0x000000l, 0xAAAAAAl, leftborder, rightborder, topborder, bottomborder, headline, "IN THE LAST " + timestr);- int pixelperscale = Math.max(1, hspace / (maxtime / bottomscale));+ int pixelperscale = Math.max(16, hspace / (maxtime / bottomscale));chart.declareDimension(ChartPlotter.DIMENSION_BOTTOM, bottomscale, pixelperscale, -maxtime, 0x000000l, 0xCCCCCCl, "TIME/HOURS");- pixelperscale = Math.max(1, 10 * ((vspace * leftscale / (maxpeers - minpeers)) / 10));+ pixelperscale = Math.max(16, 10 * ((vspace * leftscale / (maxpeers - minpeers)) / 10));chart.declareDimension(ChartPlotter.DIMENSION_LEFT, leftscale, pixelperscale, minpeers, 0x008800l, null , columns.contains("cI") ? "DOCUMENTS" : columns.contains("cR") ? "RWIs" : "PEERS");// write the data