make the code that determines which axis to use explicit

In the previous changeset the code that determined
which axis the plots used was implemented as a
side effect of getting the Gnuplot definition of
an axis.
Changed that to an explit update call with simpler
logic.
This commit is contained in:
2019-11-24 09:08:19 +01:00
parent 892d5a6d08
commit e2a33ac6e2
8 changed files with 119 additions and 58 deletions

View File

@@ -10,7 +10,7 @@ import com.fasterxml.jackson.databind.ObjectMapper;
public class AxisSettings {
public enum Type {
Number, Time, Duration
Number, Time, Duration, Percent
}
private String format = "";