Commit Graph

39 Commits

Author SHA1 Message Date
zzz
37cdade492 Build: Fix some deprecation warnings all over 2024-11-28 17:17:11 -05:00
zzz
ae84bf4021 rrd4j: Fix javadoc warnings 2024-11-26 10:17:04 -05:00
zzz
7576853c18 rrd4j: Merge in upstream changes part 5
add file missing from previous checkin
2024-10-22 17:41:35 -04:00
zzz
ad503542b3 rrd4j: Merge in upstream changes part 4
add file missing from previous checkin
2024-10-22 17:40:36 -04:00
zzz
2ffa17c633 rrd4j: Merge in upstream changes part 3
thru 8716ead 2024-08-30
2024-10-22 17:38:11 -04:00
zzz
1350d7996b rrd4j: Merge in upstream changes part 2
missing file from previous checkin
2024-10-22 10:34:07 -04:00
zzz
7d896de3c7 rrd4j: Merge in upstream changes part 1
thru 3bfaf9a 2024-08-25 to be 3.10
2024-10-22 10:30:45 -04:00
zzz
12ff0e73c7 SVG: Optimize output for horizontal/vertical segments in paths 2024-08-16 09:18:49 -04:00
zzz
8d46db382d Graphs: Improve transparency test by avoiding cast to Color 2024-07-27 14:08:55 -04:00
zzz
87a49e1abf SVG: Optimize output of color alpha values
as suggested by drzed
2024-07-27 10:04:57 -04:00
zzz
86248df17b remove unused rrd4j class 2024-07-25 09:33:46 -04:00
zzz
6aa6dad5be rrd4j: More optimizations for graph generation 2024-07-25 08:08:24 -04:00
zzz
f84963bf06 Javadoc for new svg package 2024-07-25 08:02:11 -04:00
zzz
3cc1eb7cc3 Convert graphs to SVG 2024-07-25 11:52:07 +00:00
zzz
e4aab76045 Graphs: Skip the X axis arrowhead also
put the check in the right place
2024-06-24 13:52:44 -04:00
zzz
e0f77851c2 Graphs: Replace NaN with 0 in legend values 2024-05-29 09:03:39 -04:00
zzz
7f1c611a1a Graphs: Add day number to day-of-week in time axis 2024-05-28 11:53:00 -04:00
zzz
37dfe3936f Graphs: Show milli values as 0.xxx rather than xxx m 2024-05-28 10:46:56 -04:00
zzz
23d8bfa7b8 Graphs: Don't render ticks if width is 0
Don't render arrows if alpha is 0
2024-05-28 09:12:44 -04:00
zzz
aedb7cd19a Console: Tweak graph title placement 2024-05-17 13:30:47 -04:00
zzz
4e9ac43b55 rrd4j: Change unit scale from 'k' to 'K'
which is not correct by the SI standard,
but it matches the rest of the console and common practice.
Also fix rrd4j bug that used micro in one place and u in the other.
2024-05-12 10:12:21 -04:00
zzz
177fbad865 Console: Update rrd4j to 3.9.1 preview
from rrd4j github head.
Includes our ImageWorker contribution which should speed up rendering.
2024-05-12 09:58:42 -04:00
zzz
b0db90da49 Console: Update rrd4j to version 3.9 2024-01-27 12:23:26 +00:00
zzz
b9efc002c0 RRD4J 3.8
Merged in our previous javadoc fixes
Their updated font-selector code remains commented
out in RrdGraphConstants.getFont()
Now requires Java 8
2021-05-21 07:36:57 -04:00
zzz
4fe9a27e2e RRD4J 3.6 (ticket #2716) 2020-05-28 10:33:03 +00:00
zzz
eb73f0aae2 Fixup rrd4j javadoc errors, tested with JDK 15 b11 2020-02-26 17:04:06 +00:00
zzz
ab28ee960e Add missing parts of rrd4j 3.5 omitted from previous checkin (ticket #2684)
Apache 2.0 and LGPLv2.1
2020-02-25 15:15:23 +00:00
zzz
d9ea6b1f9c rrd4j patch (ticket #2684)
So that DejaVu fonts are not required in the classpath.
We set the default font to Monospaced.
All fonts are then set in SummaryRenderer.
2020-02-25 14:14:34 +00:00
zzz
5bed4a0d7f Replace old jrobin with rrd4j 3.5 (ticket #2684)
2019-02-10
From https://github.com/rrd4j/rrd4j/releases
Copyright (c) 2001-2005 Sasa Markovic and Ciaran Treanor.
Copyright (c) 2011 The OpenNMS Group, Inc.
Copyright 2011 The RRD4J Authors.
Apache 2.0 and LGPLv2.1

Unmodified as a base for future merges, except for omitted
files listed below.
This rev will not work; font patch to follow in next revision.

Following directories and files omitted:
converter/
core/RrdBerkeleyDbBackendFactory.java
core/RrdBerkeleyDbBackend.java
core/RrdMongoDBBackendFactory.java
core/RrdMongoDBBackend.java
demo/
graph/RrdGraphDefTemplate.java
inspector/
eu/bengreen/data/utility/
2020-02-25 14:04:21 +00:00
zzz
cfbcd54ba9 jrobin: Disable DeallocationHelper for Java 9 2018-01-10 15:39:05 +00:00
str4d
97267a4d5c /graphs:
- Add option to hide legends
- Adjust size of up/down bw graph to match other graphs (ticket #1996)
- Modify image font color to better blend with themes
- Tweak spacing of elements for non-Debian installs
2017-10-25 09:29:49 +00:00
str4d
b8f5c956e6 Console: Move JRobin default color and font changes into SummaryRenderer
This ensures these changes are applied to Debian installs, where we get JRobin
from the package manager instead of our bundled source.

The padding and grid stroke changes to RrdGraphConstants have not been reverted,
because there is no API provided to alter those values. This will result in a
minor difference between Debian and non-Debian graphs, and if a user shares
those graphs, it will reveal the fact that they have installed the Debian
package. This is acceptable, given that the graphs themselves inherently reveal
significantly more private information than that.
2017-07-25 10:13:36 +00:00
str4d
5e8730a616 Console:
- (light, dark, midnight) Fix minor alignment issues with Arabic CSS
- JRobin (graphs):
  - Fix font size issue for non-title text on graphs
  - Optimise layout (tweaked padding, legend box size etc)
  - Tweak graph lines (now dotted, slightly less opaque)
2017-06-03 14:11:33 +00:00
zzz
78da3b9785 javadoc fixes part 15 (ticket #1894) 2017-01-27 16:00:58 +00:00
zzz
a36083ab18 Utils: Java 9 yakkety workarounds 2017-01-17 14:08:47 +00:00
zzz
d7a84c88cd JRobin: Move DeallocationHelper logging from wrapper log to router log
Fix redundant cast
2016-11-12 12:29:30 +00:00
zzz
95ae86d962 Jrobin: Fix for error in DeallocationHelper on Java version 9-internal 2016-10-28 15:18:08 +00:00
zzz
04392069a6 JRobin: Fix for Java 9 to remove dependency on Sun private classes
https://github.com/OpenNMS/jrobin/issues/3
http://stackoverflow.com/questions/1854398/how-to-garbage-collect-a-direct-buffer-java
Code from http://sourceforge.net/p/tuer/code/HEAD/tree/pre_beta/src/main/java/engine/misc/DeallocationHelper.java
unmodified, GPLv2
2016-10-26 19:31:40 +00:00
zzz
78acf707dc JRobin: 1.6.0-1, 2014-10-28, checked in as source
from https://github.com/OpenNMS/jrobin/releases
Replaces 1.5.9.1 from 2008-09-05
Needed for Java 9 to remove dependency on Sun private classes.
No modifications, but includes only core, data, and graph;
cmd, convertor, inspector, and tests are not included.
Using source instead of jar because:
 - Release jar not available
 - Additional change will be needed for Java 9
   to remove dependency on Sun private classes, see:
   https://github.com/OpenNMS/jrobin/issues/3
2016-10-26 17:45:34 +00:00