com.vaadin.flow.component.charts.model.

All Implemented Interfaces:

Serializable

public class Items extends AbstractConfigurationObject

A HTML label that can be positioned anywhere in the chart area.

See Also:

  • Constructor Details

    • Items

      public Items()
  • Method Details

    • getHtml

      public String getHtml()

      See Also:

    • setHtml

      public void setHtml(String html)

      Inner HTML or text for the label.

    • getStyle

      public Style getStyle()

      See Also:

    • setStyle

      public void setStyle(Style style)

      CSS styles for each label. To position the label, use left and top like this:

       style: {
                      left: '100px',
                      top: '100px'
              }