public class NoData extends AbstractConfigurationObject
no-data-to-display.js
to be loaded in the
page. The actual text to display is set in the
lang.noData option.Constructor and Description |
---|
NoData() |
Modifier and Type | Method and Description |
---|---|
Position |
getPosition() |
Style |
getStyle() |
Boolean |
getUseHTML() |
void |
setPosition(Position position)
The position of the no-data label, relative to the plot area.
|
void |
setStyle(Style style)
CSS styles for the no-data label.
|
void |
setUseHTML(Boolean useHTML)
Whether to insert the label as HTML, or as pseudo-HTML rendered with SVG.
|
public Position getPosition()
setPosition(Position)
public void setPosition(Position position)
Defaults to: { "x": 0, "y": 0, "align": "center", "verticalAlign": "middle" }
public Style getStyle()
setStyle(Style)
public void setStyle(Style style)
Defaults to: { "fontSize": "12px", "fontWeight": "bold", "color": "#666666" }
public Boolean getUseHTML()
setUseHTML(Boolean)
public void setUseHTML(Boolean useHTML)
Defaults to: false
Copyright © 2021. All rights reserved.