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

All Implemented Interfaces:

Serializable

public class Credits extends AbstractConfigurationObject

Highchart by default puts a credits label in the lower right corner of the chart. This can be changed using these options.

See Also:

  • Constructor Details

    • Credits

      public Credits()
    • Credits

      public Credits(Boolean enabled)
    • Credits

      public Credits(String text)
  • Method Details

    • getEnabled

      public Boolean getEnabled()

      See Also:

    • setEnabled

      public void setEnabled(Boolean enabled)

      Whether to show the credits text.

      Defaults to: true

    • getHref

      public String getHref()

      See Also:

    • setHref

      public void setHref(String href)

      The URL for the credits label.

      Defaults to: http://www.highcharts.com

    • getPosition

      public Position getPosition()

      See Also:

    • setPosition

      public void setPosition(Position position)

      Position configuration for the credits label.

    • getStyle

      public Style getStyle()

      See Also:

    • setStyle

      public void setStyle(Style style)

      CSS styles for the credits label.

      Defaults to: { "cursor": "pointer", "color": "#999999", "fontSize": "10px" }

    • getText

      public String getText()

      See Also:

    • setText

      public void setText(String text)

      The text for the credits label.

      Defaults to: Highcharts.com