IRCaBot 2.1.0
GPLv3 © acetone, 2021-2022
#saltr
/2024/05/29
~dr|z3d
@RN
@RN_
@eyedeekay
@orignal
@postman
@zzz
%Liorar
%ardu
%mareki2p
+FreefallHeavens
+Onn4l7h
+Over
+Sh0ck
+Xeha
+bak83
+leopold
+marek22k
+onon_
+poriori
+profetikla
+qend-irc2p
+r00tobo_BNC
+romer
+uop23ip
+waffles
+xHarr
Arch
BubbRubb
Danny
DeltaOreo
Irc2PGuest10122
Irc2PGuest16791
Irc2PGuest24625
Irc2PGuest82685
Irc2PGuest93285
Maylay
Meow
Stormycloud_
ac9f
acetone__
anontor
combed_tree328
coolbuddy799
cumlord
duck
halloy13412
makoto
nZDoYBkF
nilbog
not_bob_afk
pory
r00tobo[2]
shiver_1
simprelay
solidx66
thetia
u5657_
vivid_reader56
zer0bitz
dr|z3d if you're in RrdGraph.java zzz, some more optimizations to be had:
dr|z3d private void drawAxis() {
dr|z3d if (!gdef.onlyGraph) {
dr|z3d Paint gridColor = gdef.getColor(ElementsNames.grid);
dr|z3d Paint xaxisColor = gdef.getColor(ElementsNames.xaxis);
dr|z3d Paint yaxisColor = gdef.getColor(ElementsNames.yaxis);
dr|z3d Stroke stroke = new BasicStroke(1);
dr|z3d if (im.xsize >= 600 && im.ysize >= 200) {stroke = new BasicStroke(2);}
dr|z3d worker.drawLine(im.xorigin, im.yorigin, im.xorigin + im.xsize, im.yorigin, xaxisColor, stroke);
dr|z3d worker.drawLine(im.xorigin, im.yorigin - im.ysize, im.xorigin, im.yorigin, yaxisColor, stroke);
dr|z3d you'll want those axis lines to use BasicStroke.CAP_SQUARE or CAP_ROUND.
dr|z3d also, re spacing for the units, I've gone in the opposite direction to your patch.. no leading space on the Y axis values.
dr|z3d I've also managed to pin down the fractional values so when we've got 1K 1.5K 2K, we now have 1.0K, 1.5K etc.
dr|z3d - if (fractionals < 0) /* small amplitude. */ {
dr|z3d + if (fractionals < 99999999) {
zzz space before units is consistent with everything else in the canon console
zzz not_bob_afk, you can raise the limit with i2psnark.maxFilesPerTorrent in i2psnark.config; if you're lobbying to raise the default, please find out what postman's current limit is