<td><inputtype="button"value="contact current peer from this peer"onclick="top.location.href='http://' + document.getElementById('otherPeerAddress').value + '/Network.html?peerHash=#[my-hash]#&peerIP=#[my-ip]#&peerPort=#[my-port]#&page=4&addPeer=add+Peer'"/></td>
<td><inputtype="button"value="contact current peer from this peer"onclick="top.location.href='http://' + document.getElementById('otherPeerAddress').value + '/Network.html?peerHash=#[my-hash]#&peerIP=#[my-ip]#&peerPort=#[my-port]#&page=4&addPeer=add+Peer'"/></td>
</tr>
</tr>
</table>
</table>
::
<!--
possible column values:
aM activeLastMonth
aW activeLastWeek
aD activeLastDay
aH activeLastHour
cC countConnected (Active Senior)
cD countDisconnected (Passive Senior)
cP countPotential (Junior)
cR count of the RWI entries
cI size of the index (number of documents)
maxtime: number of hours in the past
scale: number of hours per scale unit in the bottom line
-->
<h3><b>Count of Connected Senior Peers</b> in the last two days, scale = 1h</h3>
// Iterator<byte[]> i = statTable.keys(false, false);
// Iterator<byte[]> i = statTable.keys(false, false);
@ -105,8 +108,22 @@ public class NetworkHistory {
finalinttopborder=20;
finalinttopborder=20;
finalintbottomborder=20;
finalintbottomborder=20;
finalintvspace=height-topborder-bottomborder;
finalintvspace=height-topborder-bottomborder;
finalintleftscale=(maxpeers/100)*10;
finalintleftscale=maxpeers/10;
ChartPlotterchart=newChartPlotter(width,height,0xFFFFFFl,0x000000l,0xAAAAAAl,leftborder,rightborder,topborder,bottomborder,"YACY NETWORK HISTORY","IN THE LAST 48 HOURS");
if(columns.contains("cI"))headline="YACY INDEX SIZE HISTORY: NUMBER OF DOCUMENTS";
if(columns.contains("cR"))headline="YACY INDEX SIZE HISTORY: NUMBER OF RWI ENTRIES";
ChartPlotterchart=newChartPlotter(width,height,0xFFFFFFl,0x000000l,0xAAAAAAl,leftborder,rightborder,topborder,bottomborder,headline,"IN THE LAST "+timestr);