com.vaadin.flow.component.charts.model.
Class NoData
All Implemented Interfaces:
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 -
Method Summary
Modifier and TypeMethodDescriptiongetStyle()
void
setPosition
(Position position) The position of the no-data label, relative to the plot area.
void
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.
-
Constructor Details
-
NoData
public NoData()
-
-
Method Details
-
getPosition
See Also:
-
setPosition
The position of the no-data label, relative to the plot area.
Defaults to: { "x": 0, "y": 0, "align": "center", "verticalAlign": "middle" }
-
getStyle
See Also:
-
setStyle
CSS styles for the no-data label.
Defaults to: { "fontSize": "12px", "fontWeight": "bold", "color": "#666666" }
-
getUseHTML
See Also:
-
setUseHTML
Whether to insert the label as HTML, or as pseudo-HTML rendered with SVG.
Defaults to: false
-