Basics
Guides
API Reference
Basics
Guides
API Reference
[16:7] extends: Region
The Chart class wraps javafx.scene.chart.Chart, the abstract base for every JavaFX chart (the XYChart family and PieChart). It extends Region and provides the title, legend, and animation settings shared by all charts. This wrapper is not constructed directly. Concrete charts extend it, mirroring the JavaFX inheritance model, and set this.obj in their own constructors.
Chart ()
Base constructor. Chart is abstract and is never instantiated on its own.
setTitle (string Title)
Sets the chart title displayed above the plot area.
Title is a string with the title text.this object for chaininggetTitle ()
Returns the chart title.
A string with the title text, or null when none is set.titleProperty ()
Returns the StringProperty backing the title.
An AJO wrapping javafx.beans.property.StringProperty.setTitleSide (string SideName)
Sets which side of the chart the title appears on.
SideName is a javafx.geometry.Side constant name: TOP, BOTTOM, LEFT, or RIGHT.this object for chaininggetTitleSide ()
Returns which side of the chart the title appears on.
An AJO wrapping javafx.geometry.Side.titleSideProperty ()
Returns the ObjectProperty backing the title side.
An AJO wrapping ObjectPropertysetLegendVisible (bool Visible)
Sets whether the chart legend is visible.
Visible is a bool; true shows the legend.this object for chainingisLegendVisible ()
Returns whether the chart legend is visible.
A bool that is true when the legend is shown.legendVisibleProperty ()
Returns the BooleanProperty backing the legend visibility.
An AJO wrapping javafx.beans.property.BooleanProperty.setLegendSide (string SideName)
Sets which side of the chart the legend appears on.
SideName is a javafx.geometry.Side constant name: TOP, BOTTOM, LEFT, or RIGHT.this object for chaininggetLegendSide ()
Returns which side of the chart the legend appears on.
An AJO wrapping javafx.geometry.Side.legendSideProperty ()
Returns the ObjectProperty backing the legend side.
An AJO wrapping ObjectPropertysetAnimated (bool Animated)
Sets whether chart changes are animated.
Animated is a bool; true enables animation.this object for chaininggetAnimated ()
Returns whether chart changes are animated.
A bool that is true when animation is enabled.animatedProperty ()
Returns the BooleanProperty backing the animated flag.
An AJO wrapping javafx.beans.property.BooleanProperty.
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.