Skip to content

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.

PropertyTypeDefaultSummary
prefixStringnullText written before every value, such as a currency sign; null writes none.
suffixStringnullText written after every value, such as a unit; null writes none.

ReturnsSignatureSummary
Stringformat(Number value)The value with the prefix and the suffix.
Inherited from ChartNode.ChartAxis (3)

x · y · getName

  • this prefix(String prefix) fluent
  • String getPrefix()

Default: null

Text written before every value, such as a currency sign; null writes none.

  • this suffix(String suffix) fluent
  • String getSuffix()

Default: null

Text written after every value, such as a unit; null writes none.

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

Report a problem with this page