replace individual percentile aggregates with a single one for all
This commit is contained in:
@@ -30,6 +30,18 @@ public class GnuplotFileGenerator {
|
||||
appendfln(result, "set xtics rotate by %d", xAxis.getRotateXAxisLabel());
|
||||
appendfln(result, "set xrange [\"%s\":\"%s\"]", xAxis.getFrom(), xAxis.getTo());
|
||||
|
||||
/*
|
||||
* set yrange ["0":"100"]
|
||||
set ytics nomirror # don't show the tics of the left y-axis on the right side
|
||||
|
||||
set y2label "CPU load"
|
||||
set y2tics
|
||||
set autoscale y2
|
||||
*/
|
||||
appendfln(result, "set x2label \"percent\"");
|
||||
appendfln(result, "set y2tics");
|
||||
appendfln(result, "set x2range [\"0\":\"100\"]");
|
||||
|
||||
final long graphOffset = settings.getYAxisScale() == AxisScale.LINEAR ? 0 : 1;
|
||||
appendfln(result, "set yrange [\""+graphOffset+"\":]");
|
||||
|
||||
|
||||
@@ -171,7 +171,7 @@ public class ScatterPlot implements ConcretePlotter {
|
||||
final long fromEpochMilli = dateFrom.toInstant().toEpochMilli();
|
||||
final long toEpochMilli = dateTo.toInstant().toEpochMilli();
|
||||
final boolean useMillis = (toEpochMilli - fromEpochMilli) < TimeUnit.MINUTES.toMillis(5);
|
||||
final CustomAggregator aggregator = plotSettings.getAggregate().createCustomAggregator(fromEpochMilli, toEpochMilli);
|
||||
final CustomAggregator aggregator = plotSettings.getAggregate().createCustomAggregator(tmpDir);
|
||||
|
||||
long maxValue = 0;
|
||||
long ignoredValues = 0;
|
||||
|
||||
Reference in New Issue
Block a user