public class NoData extends Configurable<NoData>
Lang.setNoData(String)Lang.setNoData(String)| Constructor and Description |
|---|
NoData() |
| Modifier and Type | Method and Description |
|---|---|
NoData |
setPosition(Position position)
Convenience method for setting the 'position' option of the noData.
|
NoData |
setStyle(Style style)
Convenience method for setting the 'style' option of the noData message.
|
getOptions, setOptionpublic NoData setPosition(Position position)
noData.setOption("position", new position());
The position of the no-data label, relative to the plot area.
Defaults to { "x": 0, "y": 0, "align": "center", "verticalAlign": "middle" }.position - The position of the "noData' labelNoData instance for convenient method chaining.public NoData setStyle(Style style)
noData.setOption("style", "fontSize": "12px");
CSS styles for the no-data label. Defaults to { "fontSize": "12px", "fontWeight": "bold", "color": "#60606a" }.style - CSS styles for the noData message.NoData instance for convenient method chaining.Copyright © 2015. All Rights Reserved.