Constructor and Description |
---|
DisplayOptions() |
Modifier and Type | Method and Description |
---|---|
void |
setChartSize(Size size)
Sets the size used to display a chart.
|
void |
setCSSClassName(String name)
The optional CSS class name that will be applied to the plot container.
|
void |
setLegendSize(Size size)
Sets the chart's legend size.
|
public void setChartSize(Size size)
If no size is provided, the default size is 230X234.
Size
public void setLegendSize(Size size)
If no size is provided then the default size is width/2 * height/2,
where width and height are the dimensions of the chart.
Note: If the legend is close to the container size it might lead to overlapping with
the axis and/or grid.
Size
public void setCSSClassName(String name)
This can be useful if a specific plot container style is required.