ChartNode.ChartAxis
class ChartNode.ChartAxis
Known subtypes: ChartNode.ChartAxis.XChartAxis, ChartNode.ChartAxis.YChartAxis
Package: dev.joid.lib.ui.node.impl.chart · Module: core · Source: ChartNode.java
The base of the X and Y axes of a chart, created by ChartAxis.x(...) and ChartAxis.y(...), with the name of the axis.
Learn more
Section titled “Learn more”Creation
Section titled “Creation”| Returns | Signature | Summary |
|---|---|---|
| ChartAxis(String name) protected | Called by a subclass with the name of the axis. |
Methods
Section titled “Methods”| Returns | Signature | Summary |
|---|---|---|
XChartAxis | x(String name, String… labels) static | Creates an X axis with this name and these labels, in order. |
YChartAxis | y(String name) static | Creates a Y axis with this name. |
String | getName() | The name of the axis. |
Creation details
Section titled “Creation details”ChartAxis
Section titled “ChartAxis”ChartAxis(String name) protected
Called by a subclass with the name of the axis.
Method details
Section titled “Method details”XChartAxis x(String name, String... labels) static
Creates an X axis with this name and these labels, in order.
YChartAxis y(String name) static
Creates a Y axis with this name.
getName
Section titled “getName”String getName()
The name of the axis.
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
