Interface INumericStylePropertyOwner
- All Known Implementing Classes:
BarChartNumericYAxis,GanttChartNumericXAxis,LineChartNumericXAxis,LineChartNumericYAxis
public interface INumericStylePropertyOwner
Interface of
AxisNumericStyle property owners. Provides a set of
methods corresponding to it.- Author:
- Aleksey Kirillov
-
Method Summary
Modifier and TypeMethodDescriptionsetLabelsFormat(Function<Double, String> format) Sets the formatter to axis labels, i.e.setNumericStyle(AxisNumericStyle style) Sets theAxisNumericStylethat specifies the formatting and ticks details for axis in case it shows numeric values.
-
Method Details
-
setNumericStyle
Sets theAxisNumericStylethat specifies the formatting and ticks details for axis in case it shows numeric values.- Parameters:
style- newAxisNumericStylethat specifies the formatting and ticks details for axis in case it shows numeric values- Returns:
- reference to this object
-
setLabelsFormat
Sets the formatter to axis labels, i.e. the function that takes aDoublevalue and produces aStringthat should be drawn to represent this value.- Parameters:
format- new axis labels formatter- Returns:
- reference to this object
-