public interface ChartSettingsBuilder<T extends ChartSettingsBuilder> extends DisplayerSettingsBuilder<T>
Modifier and Type | Method and Description |
---|---|
T |
height(int height)
Sets the height of the chart.
|
T |
legendOff()
Hides off the char legend.
|
T |
legendOn(Position position) |
T |
legendOn(String position)
Turns on the char legend display.
|
T |
margins(int top,
int bottom,
int left,
int right)
Set the margins for this chart.
|
T |
resizableOff()
Set the chart as no resizable, it cannot change its size from the original one, defined by
width and height attributes. |
T |
resizableOn(int maxWidth,
int maxHeight)
Set the chart as resizable, it can change its size from the original one, defined by
width and height attributes. |
T |
width(int width)
Sets the width of the chart.
|
backgroundColor, buildSettings, dataset, expression, expression, filterOff, filterOn, format, format, format, htmlTemplate, jsTemplate, refreshOff, refreshOn, refreshOn, renderer, subtype, title, titleVisible, uuid
T width(int width)
width
- The width of the chart.T height(int height)
height
- The height of the chart.T margins(int top, int bottom, int left, int right)
top
- The top margin.bottom
- The bottom margin.left
- The left margin.right
- The right margin.T legendOff()
T legendOn(String position)
position
- The display position.T resizableOn(int maxWidth, int maxHeight)
width
and height
attributes.maxWidth
- The maximum width value.maxHeight
- The maximum height value.T resizableOff()
width
and height
attributes.Copyright © 2012–2018 JBoss by Red Hat. All rights reserved.