Class Level
- java.lang.Object
-
- com.vaadin.flow.component.charts.model.AbstractConfigurationObject
-
- com.vaadin.flow.component.charts.model.Level
-
- All Implemented Interfaces:
Serializable
public class Level extends AbstractConfigurationObject
Set options on specific levels. Takes precedence over series options, but not point options.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Level()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ColorgetBorderColor()DashStylegetBorderDashStyle()NumbergetBorderWidth()ColorgetColor()DataLabelsgetDataLabels()TreeMapLayoutAlgorithmgetLayoutAlgorithm()TreeMapLayoutStartingDirectiongetLayoutStartingDirection()NumbergetLevel()voidsetBorderColor(Color borderColor)Can set aborderColoron all points which lies on the same level.voidsetBorderDashStyle(DashStyle borderDashStyle)Set the dash style of the border of all the point which lies on the level.voidsetBorderWidth(Number borderWidth)Can set the borderWidth on all points which lies on the same level.voidsetColor(Color color)Can set a color on all points which lies on the same level.voidsetDataLabels(DataLabels dataLabels)Can set the options of dataLabels on each point which lies on the level.voidsetLayoutAlgorithm(TreeMapLayoutAlgorithm layoutAlgorithm)Can set the layoutAlgorithm option on a specific level.voidsetLayoutStartingDirection(TreeMapLayoutStartingDirection layoutStartingDirection)Can set the layoutStartingDirection option on a specific level.voidsetLevel(Number level)Decides which level takes effect from the options set in the levels object.
-
-
-
Method Detail
-
getBorderColor
public Color getBorderColor()
- See Also:
setBorderColor(Color)
-
setBorderColor
public void setBorderColor(Color borderColor)
Can set aborderColoron all points which lies on the same level.
-
getBorderDashStyle
public DashStyle getBorderDashStyle()
- See Also:
setBorderDashStyle(DashStyle)
-
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(Number)
-
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(Color)
-
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(DataLabels)
-
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(Number)
-
setLevel
public void setLevel(Number level)
Decides which level takes effect from the options set in the levels object.
-
-