Skip to content
Snippets Groups Projects
Commit 877cee13 authored by Nicolas Roduit's avatar Nicolas Roduit
Browse files

Fix displaying logarithmic tick labels

parent abe6df93
No related branches found
No related tags found
No related merge requests found
......@@ -116,7 +116,8 @@ public class AxisTickLogarithmicCalculator extends AxisTickCalculator {
tickLabels.add(numberFormatter.formatLogNumber(j, axisDirection));
}
else {
tickLabels.add(null);
// Set a space to avoid Zero length string passed to TextLayout constructor
tickLabels.add(" ");
}
// add all the tick marks though
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment