Interface ILabelFormatter<T>
Defines the interface to a label formatter which is used by FormatterLabelProviderBase
Implements
Namespace:
Assembly: .dll
Syntax
public interface ILabelFormatter<T> extends labelProviders.IDoubleLabelFormatter
Type Parameters
Name | Description |
---|---|
T |
Methods
update(T axis)
Updates this label formatter with values provided by axis
Declaration
public abstract void update(T axis)
Parameters
Type | Name | Description |
---|---|---|
T | axis | The current axis |
update(List<CharSequence> formattedTickLabels, DoubleValues majorTicks)
Updates ticks collection according to provided axis ticks.
Declaration
public abstract boolean update(List<CharSequence> formattedTickLabels, DoubleValues majorTicks)
Parameters
Type | Name | Description |
---|---|---|
List<CharSequence> | formattedTickLabels | The list where formatted ticks should be stored. |
DoubleValues | majorTicks | Major ticks to use for tick labels. |
Returns
Type | Description |
---|---|
boolean | Return true if ticks were formatted by this ILabelFormatter implementation, so there is no need to format them in parent ILabelProvider, otherwise return false |