Axis scale lists axis measurement marks (ticks) and labels. Multiple Axis scales form a list, where first element is a coarsest scale and each subsequent element is a subscale (the scale of finer grade). Axis scale classes can be subclassed in order to provide label modification with prefixes or suffixes. All scale methods are declared in interface AxisScale. Axis range indicates the range of data that is displayed on axis. Range classes are responsible for calculating the axis ticks spacing.
Figure 5.2.3.1 Scale and Range Classes
| Class | Description |
|---|---|
| AxisScale | Interface that defines common methods for all scale classes. Scale classes define the type of subscales (if any) available for this scale. |
| MathAxisScale | Provides labeling for math axes. This class also manages labels' mapping and formatting. Labels are formatted according to given Locale. |
| LogAxisScale | Manages the display of measurement marks on logarithmic axes. It allows choosing between decimal and exponential label formats. |
| Date Range | Interface that defines common methods for date range classes. |
| DateAxisRange | Manages the range of date/time values. |
| MathRange | Interface that defines common methods for numeric range classes. |
| LogMathRange | Manages the range of numeric values that are converted to log10 base. Calculates tick mark values based on provided range. |
| NormalizedMathRange | Manages the range of double values. Range endpoints are adjusted to the nearest round values in a decimal system. |
Table 5.2.3.1 Scale and Range Classes