public final class TextFormattedValueProvider extends java.lang.Object implements IFormattedValueProvider
IFormattedValueProvider
which returns static string and ignores value provided by AxisInfo
Constructor and Description |
---|
TextFormattedValueProvider(java.lang.CharSequence formattedValue)
Creates a new instance of
TextFormattedValueProvider class |
Modifier and Type | Method and Description |
---|---|
java.lang.CharSequence |
formatValue(AxisInfo axisInfo)
Formats the value provided by
AxisInfo and returns formatted string |
public TextFormattedValueProvider(java.lang.CharSequence formattedValue)
TextFormattedValueProvider
classformattedValue
- The string with formatted valuepublic java.lang.CharSequence formatValue(AxisInfo axisInfo)
AxisInfo
and returns formatted stringformatValue
in interface IFormattedValueProvider
axisInfo
- The AxisInfo
to get formatted value from