com.vaadin.flow.component.charts.model.
Class Credits
- java.lang.Object
-
- com.vaadin.flow.component.charts.model.AbstractConfigurationObject
-
- com.vaadin.flow.component.charts.model.Credits
-
All Implemented Interfaces:
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:
-
-
Method Summary
All Methods Modifier and Type Method Description Boolean
getEnabled()
String
getHref()
Position
getPosition()
Style
getStyle()
String
getText()
void
setEnabled(Boolean enabled)
Whether to show the credits text.
void
setHref(String href)
The URL for the credits label.
void
setPosition(Position position)
Position configuration for the credits label.
void
setStyle(Style style)
CSS styles for the credits label.
void
setText(String text)
The text for the credits label.
-
-
-
Method Detail
-
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
-
-