All Implemented Interfaces:
Serializable

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 Details

    • NoData

      public NoData()
  • Method Details

    • 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" }

    • getStyle

      public Style getStyle()
      See Also:
    • setStyle

      public void setStyle(Style style)
      CSS styles for the no-data label.

      Defaults to: { "fontSize": "12px", "fontWeight": "bold", "color": "#666666" }

    • 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