public class Subtitle extends BaseOption
The chart's subtitle. This can be used both to display a subtitle below the main title, and to display random text anywhere in the chart. The subtitle can be updated after chart initialization through the Chart.setTitle
method.
Constructor and Description |
---|
Subtitle() |
Modifier and Type | Method and Description |
---|---|
String |
getText()
The subtitle of the chart.
|
Subtitle |
setText(String text)
The subtitle of the chart.
|
String |
text()
The subtitle of the chart.
|
Subtitle |
text(String text)
The subtitle of the chart.
|
set_hcNulledOption
public String text()
The subtitle of the chart.
public Subtitle text(String text)
The subtitle of the chart.
text
- the value for the text optionpublic String getText()
The subtitle of the chart.
Copyright © 2022. All rights reserved.