Represents an axis of a chart encapsulated by an instance of XYChart
. More...
Axis
instance from an existing NumberAxis
instance with vertical ( \(y\)-axis) or horizontal ( \(x\)-axis) orientation. More...
NumberAxis
instance (from JFreeChart) linked with the current variable. More...
Represents an axis of a chart encapsulated by an instance of XYChart
.
Axis
uses the JFreeChart class NumberAxis
to store some axis properties. This class represents the \(x\)-axis or the \(y\)-axis of a XYChart
and, consequently, is drawn when calling the toLatex method. It provides tools to customize the axis in modifying labels and description.
Create a new Axis
instance from an existing NumberAxis
instance with vertical ( \(y\)-axis) or horizontal ( \(x\)-axis) orientation.
Returns the NumberAxis
instance (from JFreeChart) linked with the current variable.
NumberAxis
instance (from JFreeChart) linked with the current variable.
Returns the axis description.
Returns the drawing position parameter (default equals 0).
Sets the axis description.
This description will be displayed on the chart, near the axis.
Sets a periodic label display.
Labels will be shown every tick
unit. This tick unit replaces the default unit.
Sets the position of each label on this axis.
This method requires an array containing an increasing sequence of numbers representing the positions at which labels will appear on the axis. It is designed to export the axis to a LaTeX source code; it has no effect on the chart appearance displayed with XYChart.view()
.
Assigns custom labels to user-defined positions on the axis.
This method requires an array of positions as well as an array of labels. The label label[i]
will be used at position position[i]
. It is designed to export the axis to a LaTeX source code, and to use LaTeX/TikZ commands to write prettier characters; it has no effect on the chart appearance displayed with XYChart.view()
.
Defines where the opposite axis must be drawn on the current axis, where it should appear, and on which label.
Formats and returns a string containing a LaTeX-compatible source code which represents this axis and its parameters.
The documentation for this class was generated from the following file:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4