We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.component.charts.model.
Class NoData
- java.lang.Object
-
- com.vaadin.flow.component.charts.model.AbstractConfigurationObject
-
- com.vaadin.flow.component.charts.model.NoData
-
All Implemented Interfaces:
public class NoData extends AbstractConfigurationObject
Options for displaying a message like "No data to display". This feature requires the file
no-data-to-display.js
to be loaded in the page. The actual text to display is set in the lang.noData option.See Also:
-
-
Constructor Summary
Constructors Constructor and Description NoData()
-
Method Summary
All Methods Modifier and Type Method and Description Position
getPosition()
Boolean
getUseHTML()
void
setPosition(Position position)
The position of the no-data label, relative to the plot area.
void
setUseHTML(Boolean useHTML)
Whether to insert the label as HTML, or as pseudo-HTML rendered with SVG.
-
-
-
Method Detail
-
getPosition
public Position getPosition()
See Also:
-
setPosition
public void setPosition(Position position)
The position of the no-data label, relative to the plot area.
Defaults to: { "x": 0, "y": 0, "align": "center", "verticalAlign": "middle" }
-
getUseHTML
public Boolean getUseHTML()
See Also:
-
setUseHTML
public void setUseHTML(Boolean useHTML)
Whether to insert the label as HTML, or as pseudo-HTML rendered with SVG.
Defaults to: false
-
-