com.vaadin.flow.component.charts.model.
Class Level
- java.lang.Object
-
- com.vaadin.flow.component.charts.model.AbstractConfigurationObject
-
- com.vaadin.flow.component.charts.model.Level
-
All Implemented Interfaces:
public class Level extends AbstractConfigurationObject
Set options on specific levels. Takes precedence over series options, but not point options.
See Also:
-
-
Constructor Summary
Constructors Constructor Description Level()
-
Method Summary
All Methods Modifier and Type Method Description Color
getBorderColor()
DashStyle
getBorderDashStyle()
Number
getBorderWidth()
Color
getColor()
DataLabels
getDataLabels()
TreeMapLayoutAlgorithm
getLayoutAlgorithm()
TreeMapLayoutStartingDirection
getLayoutStartingDirection()
Number
getLevel()
void
setBorderColor(Color borderColor)
Can set a
borderColor
on all points which lies on the same level.void
setBorderDashStyle(DashStyle borderDashStyle)
Set the dash style of the border of all the point which lies on the level.
void
setBorderWidth(Number borderWidth)
Can set the borderWidth on all points which lies on the same level.
void
setColor(Color color)
Can set a color on all points which lies on the same level.
void
setDataLabels(DataLabels dataLabels)
Can set the options of dataLabels on each point which lies on the level.
void
setLayoutAlgorithm(TreeMapLayoutAlgorithm layoutAlgorithm)
Can set the layoutAlgorithm option on a specific level.
void
setLayoutStartingDirection(TreeMapLayoutStartingDirection layoutStartingDirection)
Can set the layoutStartingDirection option on a specific level.
void
setLevel(Number level)
Decides which level takes effect from the options set in the levels object.
-
-
-
Method Detail
-
getBorderColor
public Color getBorderColor()
See Also:
-
setBorderColor
public void setBorderColor(Color borderColor)
Can set a
borderColor
on all points which lies on the same level.
-
getBorderDashStyle
public DashStyle getBorderDashStyle()
See Also:
-
setBorderDashStyle
public void setBorderDashStyle(DashStyle borderDashStyle)
Set the dash style of the border of all the point which lies on the level. See plotOptions.scatter.dashStyle for possible options.
-
getBorderWidth
public Number getBorderWidth()
See Also:
-
setBorderWidth
public void setBorderWidth(Number borderWidth)
Can set the borderWidth on all points which lies on the same level.
-
getColor
public Color getColor()
See Also:
-
setColor
public void setColor(Color color)
Can set a color on all points which lies on the same level.
-
getDataLabels
public DataLabels getDataLabels()
See Also:
-
setDataLabels
public void setDataLabels(DataLabels dataLabels)
Can set the options of dataLabels on each point which lies on the level. plotOptions.treemap.dataLabels for possible values.
Defaults to: undefined
-
getLayoutAlgorithm
public TreeMapLayoutAlgorithm getLayoutAlgorithm()
-
setLayoutAlgorithm
public void setLayoutAlgorithm(TreeMapLayoutAlgorithm layoutAlgorithm)
Can set the layoutAlgorithm option on a specific level.
-
getLayoutStartingDirection
public TreeMapLayoutStartingDirection getLayoutStartingDirection()
-
setLayoutStartingDirection
public void setLayoutStartingDirection(TreeMapLayoutStartingDirection layoutStartingDirection)
Can set the layoutStartingDirection option on a specific level.
-
getLevel
public Number getLevel()
See Also:
-
setLevel
public void setLevel(Number level)
Decides which level takes effect from the options set in the levels object.
-
-