public abstract class AbstractChartSettingsBuilder<T extends ChartSettingsBuilder> extends AbstractDisplayerSettingsBuilder<T> implements ChartSettingsBuilder<T>
displayerSettings| Constructor and Description |
|---|
AbstractChartSettingsBuilder() |
| 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.
|
allowCsvExport, allowExcelExport, backgroundColor, buildSettings, createDisplayerSettings, dataset, expression, expression, filterOff, filterOn, format, format, format, htmlTemplate, jsTemplate, refreshOff, refreshOn, refreshOn, renderer, subtype, title, titleVisible, uuid, xAxisAngle, xAxisTitle, yAxisTitleasc, buildColumnId, buildLookup, column, column, column, column, column, dataset, desc, dynamic, dynamic, dynamic, filter, filter, firstDay, firstMonth, fixed, getCurrentOp, group, group, join, rowNumber, rowOffset, select, sort, sortclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbackgroundColor, buildSettings, dataset, expression, expression, filterOff, filterOn, format, format, format, htmlTemplate, jsTemplate, refreshOff, refreshOn, refreshOn, renderer, subtype, title, titleVisible, uuidpublic T width(int width)
ChartSettingsBuilderwidth in interface ChartSettingsBuilder<T extends ChartSettingsBuilder>width - The width of the chart.public T height(int height)
ChartSettingsBuilderheight in interface ChartSettingsBuilder<T extends ChartSettingsBuilder>height - The height of the chart.public T margins(int top, int bottom, int left, int right)
ChartSettingsBuildermargins in interface ChartSettingsBuilder<T extends ChartSettingsBuilder>top - The top margin.bottom - The bottom margin.left - The left margin.right - The right margin.public T legendOff()
ChartSettingsBuilderlegendOff in interface ChartSettingsBuilder<T extends ChartSettingsBuilder>public T legendOn(Position position)
legendOn in interface ChartSettingsBuilder<T extends ChartSettingsBuilder>public T legendOn(String position)
ChartSettingsBuilderlegendOn in interface ChartSettingsBuilder<T extends ChartSettingsBuilder>position - The display position.public T resizableOn(int maxWidth, int maxHeight)
ChartSettingsBuilderwidth and height attributes.resizableOn in interface ChartSettingsBuilder<T extends ChartSettingsBuilder>maxWidth - The maximum width value.maxHeight - The maximum height value.public T resizableOff()
ChartSettingsBuilderwidth and height attributes.resizableOff in interface ChartSettingsBuilder<T extends ChartSettingsBuilder>Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.