move Tags.asValueString to StringCompressor

This commit is contained in:
2021-09-18 10:14:52 +02:00
parent 5d2fdb4820
commit 54acb38e5e
3 changed files with 49 additions and 24 deletions

View File

@@ -208,7 +208,7 @@ public class Plotter {
static String title(final Tags tags, final CsvSummary csvSummary) {
// TODO title must be computed by the AggregateHandler, because it is the only
// one knowing how many values are plotted
final StringBuilder result = new StringBuilder(tags.asValueString());
final StringBuilder result = new StringBuilder(Tags.STRING_COMPRESSOR.asValueString(tags));
final int values = csvSummary.getValues();
result.append(" (");