public class Subtitle extends Object
Constructor and Description |
---|
Subtitle(javafx.scene.chart.Chart chart,
javafx.collections.ObservableList<javafx.scene.Node> children,
javafx.scene.Node legend)
Constructs a Subtitle for a JavaFX chart.
|
Modifier and Type | Method and Description |
---|---|
void |
addSubtitle(String subtitle)
Adds a subtitle to a chart.
|
void |
clearSubtitles()
Removes all the subtitles from the chart.
|
List<String> |
getSubtitles() |
void |
layoutSubtitles()
Lays out the subtitles.
|
public Subtitle(javafx.scene.chart.Chart chart, javafx.collections.ObservableList<javafx.scene.Node> children, javafx.scene.Node legend)
chart
- The chart to have a subtitle.children
- A modifiable list of the chart's children.legend
- The chart's legend object.public void addSubtitle(String subtitle)
subtitle
- Subtitle text.public void clearSubtitles()
public void layoutSubtitles()
Copyright © 2016 Emxsys. All rights reserved.