Commit 741ebbab authored by Nico Mack's avatar Nico Mack

Removed default behavior of using variable name as a surrogate label if

no label was defined.
parent beb28ec3
...@@ -168,9 +168,9 @@ public class CoxcombSlice extends ValueCorona implements InformationProvider<Obj ...@@ -168,9 +168,9 @@ public class CoxcombSlice extends ValueCorona implements InformationProvider<Obj
private void buildFromProperties() { private void buildFromProperties() {
double diameter; double diameter;
if ((this.label == null) || this.label.isEmpty()) { // if ((this.label == null) || this.label.isEmpty()) {
this.label = this.variable.getDisplayName(); // this.label = this.variable.getDisplayName();
} // }
FontRenderContext renderingContext = new FontRenderContext(null, true, true); FontRenderContext renderingContext = new FontRenderContext(null, true, true);
LineMetrics metrics = textFont.getLineMetrics(label, renderingContext); LineMetrics metrics = textFont.getLineMetrics(label, renderingContext);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment