public interface ChartOptions
This is open source software released under the Apache 2.0 License
| Modifier and Type | Interface and Description |
|---|---|
static class |
ChartOptions.Default
A default implementation of the ChartOptions
|
| Modifier and Type | Method and Description |
|---|---|
Optional<String> |
getId()
Returns the id for this chart
|
Optional<Dimension> |
getPreferredSize()
Returns the preferred size for this chart
|
ChartOptions |
withId(String id)
Sets an id for this chart
|
ChartOptions |
withPreferredSize(int width,
int height)
Sets the preferred size for the chart
|
Optional<Dimension> getPreferredSize()
ChartOptions withId(String id)
id - the id string for chartChartOptions withPreferredSize(int width, int height)
width - the preferred width in pixelsheight - the preferred heigth in pixelsCopyright 2014-2017, Xavier Witdouck