Class Condition
- java.lang.Object
-
- com.vaadin.flow.component.charts.model.AbstractConfigurationObject
-
- com.vaadin.flow.component.charts.model.Condition
-
- All Implemented Interfaces:
Serializable
public class Condition extends AbstractConfigurationObject
Under which conditions the rule applies.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Condition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCallback()NumbergetMaxHeight()NumbergetMaxWidth()NumbergetMinHeight()NumbergetMinWidth()voidsetCallback(String _fn_callback)voidsetMaxHeight(Number maxHeight)The responsive rule applies if the chart height is less than this.voidsetMaxWidth(Number maxWidth)The responsive rule applies if the chart width is less than this.voidsetMinHeight(Number minHeight)The responsive rule applies if the chart height is greater than this.voidsetMinWidth(Number minWidth)The responsive rule applies if the chart width is greater than this.
-
-
-
Method Detail
-
getCallback
public String getCallback()
-
setCallback
public void setCallback(String _fn_callback)
-
getMaxHeight
public Number getMaxHeight()
- See Also:
setMaxHeight(Number)
-
setMaxHeight
public void setMaxHeight(Number maxHeight)
The responsive rule applies if the chart height is less than this.
-
getMaxWidth
public Number getMaxWidth()
- See Also:
setMaxWidth(Number)
-
setMaxWidth
public void setMaxWidth(Number maxWidth)
The responsive rule applies if the chart width is less than this.
-
getMinHeight
public Number getMinHeight()
- See Also:
setMinHeight(Number)
-
setMinHeight
public void setMinHeight(Number minHeight)
The responsive rule applies if the chart height is greater than this.Defaults to: 0
-
getMinWidth
public Number getMinWidth()
- See Also:
setMinWidth(Number)
-
setMinWidth
public void setMinWidth(Number minWidth)
The responsive rule applies if the chart width is greater than this.Defaults to: 0
-
-