public static class GridLabelFormat.Simple extends GridLabelFormat
GridLabelFormat.Detailed, GridLabelFormat.Simple| Constructor and Description |
|---|
Simple(java.lang.String labelFormat)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
format(double value,
java.lang.String unit)
Format a label using the given value and unit.
|
fromConfigpublic Simple(java.lang.String labelFormat)
labelFormat - Label format.public final java.lang.String format(double value,
java.lang.String unit)
GridLabelFormatformat in class GridLabelFormatvalue - Value.unit - Unit.