Package io.jmix.charts.model
Class Title
java.lang.Object
io.jmix.charts.model.AbstractChartObject
io.jmix.charts.model.Title
- All Implemented Interfaces:
- Serializable
Creates a title on above the chart, multiple can be assigned.
 
See documentation for properties of Title JS Object.
http://docs.amcharts.com/3/javascriptcharts/Title
See documentation for properties of Title JS Object.
http://docs.amcharts.com/3/javascriptcharts/Title
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetAlpha()getBold()getColor()getId()getSize()getText()@Max(1L) @Min(0L) TitleSets opacity of a title.Set bold to false if title shouldn't be bold.Sets text color of a title.Sets unique id of a title.Sets text size of a title.setTabIndex(Integer tabIndex) In case you set it to some number, the chart will set focus on the title when user clicks tab key.Sets text of a title.
- 
Constructor Details- 
Titlepublic Title()
 
- 
- 
Method Details- 
getAlpha- Returns:
- opacity of a title
 
- 
setAlpha@StudioProperty(defaultValue="1") @Max(1L) @Min(0L) public @Max(1L) @Min(0L) Title setAlpha(Double alpha) Sets opacity of a title. If not set the default value is 1.- Parameters:
- alpha- opacity
- Returns:
- title
 
- 
getBold- Returns:
- true if title is bold
 
- 
setBoldSet bold to false if title shouldn't be bold. If not set the default value is true.- Parameters:
- bold- bold option
- Returns:
- title
 
- 
getColor- Returns:
- text color of a title
 
- 
setColorSets text color of a title.- Parameters:
- color- color
- Returns:
- title
 
- 
getSize- Returns:
- text size of a title
 
- 
setSizeSets text size of a title.- Parameters:
- size- text size
- Returns:
- title
 
- 
getText- Returns:
- text of a title
 
- 
setTextSets text of a title.- Parameters:
- text- text
- Returns:
- title
 
- 
getId- Returns:
- unique id of a title
 
- 
setIdSets unique id of a title.- Parameters:
- id- id
- Returns:
- title
 
- 
getTabIndex- Returns:
- tab index
 
- 
setTabIndexIn case you set it to some number, the chart will set focus on the title when user clicks tab key. When a focus is set, screen readers like NVDA screen reader will read the title. Note, not all browsers and readers support this.- Parameters:
- tabIndex- tab index
- Returns:
- title
 
 
-