Basics
Guides
API Reference
Basics
Guides
API Reference
[12:7] extends: FxObj
Aussom helper class representing a named data series used when building XY chart data for JavaFX charts. Each ChartSeries wraps a JavaFX XYChart.Series and accepts individual data points added via addPoint(). The companion PieSlice class wraps a single labeled value used to build the slice data for a PieChart.
ChartSeries (string Name = "")
Creates a new XY chart data series with an optional name.
Name is a string with the series name, or empty for an unnamed series.addPoint (X, Y)
Adds a data point to the series.
X is the X value.Y is the Y value.this object for chainingchartProperty ()
Returns the read-only property that holds the parent chart hosting this series.
A ReadOnlyObjectProperty AJO holding the chart.dataProperty ()
Returns the property that holds the live data ObservableList for this series.
An ObjectProperty AJO holding the data list.getChart ()
Returns the parent chart that hosts this series, or null if the series has not been added to a chart.
An AJO holding the parent chart, or null.getData ()
Returns the live ObservableList of XYChart.Data points in this series. Mutations are reflected on the chart.
An ObservableList AJO of XYChart.Data elements.getName ()
Returns the series name.
A string with the series name.getNode ()
Returns the Node used to display this series in the chart legend and as the series visual.
An AJO holding the series Node, or null.nameProperty ()
Returns the property that holds the series name.
A StringProperty AJO holding the name.nodeProperty ()
Returns the property that holds the series display Node.
An ObjectProperty AJO holding the Node.setData (object Data)
Replaces the series data with the supplied ObservableList of XYChart.Data points.
Data is an AJO holding an ObservableList of XYChart.Data.this object for chainingsetName (string Name)
Sets the series name.
Name is a string with the new series name.this object for chainingsetNode (object NodeObj)
Sets the Node used to display this series in the legend.
NodeObj is a Node wrapper used as the series visual.this object for chaining[141:7] extends: FxObj
Represents a single slice in a PieChart.
PieSlice (string Name, double Value)
Creates a new pie chart data slice with a label and numeric value.
Name is a string with the slice label.Value is a double with the numeric value of the slice.chartProperty ()
Returns the read-only property that holds the parent PieChart hosting this slice.
A ReadOnlyObjectProperty AJO holding the chart.getChart ()
Returns the parent PieChart hosting this slice, or null if the slice has not been added to a chart.
An AJO holding the parent PieChart, or null.getName ()
Returns the slice label.
A string with the slice label.getNode ()
Returns the Node used to render this slice.
An AJO holding the slice Node, or null.getPieValue ()
Returns the numeric value of this slice.
A double with the slice value.nameProperty ()
Returns the property that holds the slice label.
A StringProperty AJO holding the label.nodeProperty ()
Returns the read-only property that holds the slice display Node.
A ReadOnlyObjectProperty AJO holding the Node.pieValueProperty ()
Returns the property that holds the numeric value of this slice.
A DoubleProperty AJO holding the slice value.setName (string Name)
Sets the slice label.
Name is a string with the new label.this object for chainingsetPieValue (double Value)
Sets the numeric value of this slice. Changes update the chart on the next layout pass.
Value is a double with the new value.this object for chaining
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.