| Modifier and Type | Interface and Description |
|---|---|
static class |
IChartTheme.ColoredElement
Theme color settings
|
static class |
IChartTheme.Predefined
Predefined chart theme enumeration, use it in IClientChartPresentationManager.getPredefinedTheme
|
static class |
IChartTheme.StrokeElement
Theme stroke settings
|
static class |
IChartTheme.TextElement
Theme text settings
|
| Modifier and Type | Method and Description |
|---|---|
IChartTheme |
clone()
Clones a chart theme
|
Color |
getColor(IChartTheme.ColoredElement coloredElement)
Returns the color of a colored chart element
|
Font |
getFont(IChartTheme.TextElement textElement)
Returns the font of a text chart element
|
String |
getName()
Returns theme name
|
BasicStroke |
getStroke(IChartTheme.StrokeElement strokeElement)
Returns the stroke of a stroke chart element
|
IChartTheme |
setColor(IChartTheme.ColoredElement coloredElement,
Color color)
Sets the color of a colored chart element
|
IChartTheme |
setFont(IChartTheme.TextElement textElement,
Font font)
Sets the font of a text chart element
|
IChartTheme |
setName(String name)
Sets theme name
|
IChartTheme |
setStroke(IChartTheme.StrokeElement strokeElement,
BasicStroke stroke)
Sets the stroke of a stroke chart element
|
IChartTheme setName(String name)
name - theme nameString getName()
IChartTheme setColor(IChartTheme.ColoredElement coloredElement, Color color)
coloredElement - chart element whose color needs to be changedcolor - new colorColor getColor(IChartTheme.ColoredElement coloredElement)
coloredElement - chart element whose color needs to be returnedIChartTheme setFont(IChartTheme.TextElement textElement, Font font)
textElement - chart element whose font needs to be changedfont - new fontFont getFont(IChartTheme.TextElement textElement)
textElement - chart element whose font needs to be returnedIChartTheme setStroke(IChartTheme.StrokeElement strokeElement, BasicStroke stroke)
strokeElement - chart element whose stroke needs to be changedstroke - new strokeBasicStroke getStroke(IChartTheme.StrokeElement strokeElement)
strokeElement - chart element whose stroke needs to be returnedIChartTheme clone()
Copyright © 2016. All rights reserved.