ChartNode.ChartAxis.YChartAxis
final class ChartNode.ChartAxis.YChartAxis
Extends: ChartAxis
Package: dev.joid.lib.ui.node.impl.chart · Module: core · Source: ChartNode.java
The Y axis of a chart, which formats its values.
Learn more
Section titled “Learn more”Properties
Section titled “Properties”| Property | Type | Default | Summary |
|---|---|---|---|
| prefix | String | null | Text written before every value, such as a currency sign; null writes none. |
| suffix | String | null | Text written after every value, such as a unit; null writes none. |
Methods
Section titled “Methods”| Returns | Signature | Summary |
|---|---|---|
String | format(Number value) | The value with the prefix and the suffix. |
Inherited from ChartNode.ChartAxis (3)
Property details
Section titled “Property details”prefix
Section titled “prefix”this prefix(String prefix)fluentString getPrefix()
Default: null
Text written before every value, such as a currency sign; null writes none.
suffix
Section titled “suffix”this suffix(String suffix)fluentString getSuffix()
Default: null
Text written after every value, such as a unit; null writes none.
Method details
Section titled “Method details”format
Section titled “format”String format(Number value)
The value with the prefix and the suffix.
fluent returns the instance, typed for chaining · factory creates an instance · signal also accepts a value that follows signals, as a signal, an expression or a lambda (When does JOID compute this value again?) · hook called by JOID, override it · abstract you implement it · default interface method with a body · static called on the class · protected visible to subclasses
