public class Title extends BaseOption
The chart's main title.
Copyright (c) 2024 Powerbuilt Systems. All rights reserved.Constructor and Description |
---|
Title() |
Modifier and Type | Method and Description |
---|---|
HorizontalAlign |
getAlign()
The horizontal alignment of the title.
|
String |
getText()
The title of the chart.
|
Title |
setAlign(HorizontalAlign align)
The horizontal alignment of the title.
|
Title |
setText(String text)
The title of the chart.
|
set_hcNulledOption
public static final Title NULL
public HorizontalAlign getAlign()
The horizontal alignment of the title. Can be one of "left", "center" and "right".
public Title setAlign(HorizontalAlign align)
The horizontal alignment of the title. Can be one of "left", "center" and "right".
align
- the value for the align optionpublic String getText()
The title of the chart. To disable the title, set the text
to undefined
.
Copyright © 2024. All rights reserved.