com.vaadin.flow.component.charts.model.
Class Condition
- java.lang.Object
-
- com.vaadin.flow.component.charts.model.AbstractConfigurationObject
-
- com.vaadin.flow.component.charts.model.Condition
-
All Implemented Interfaces:
public class Condition extends AbstractConfigurationObject
Under which conditions the rule applies.
See Also:
-
-
Constructor Summary
Constructors Constructor and Description Condition()
-
Method Summary
All Methods Modifier and Type Method and Description String
getCallback()
Number
getMaxHeight()
Number
getMaxWidth()
Number
getMinHeight()
Number
getMinWidth()
void
setCallback(String _fn_callback)
void
setMaxHeight(Number maxHeight)
The responsive rule applies if the chart height is less than this.
void
setMaxWidth(Number maxWidth)
The responsive rule applies if the chart width is less than this.
void
setMinHeight(Number minHeight)
The responsive rule applies if the chart height is greater than this.
void
setMinWidth(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
public void setMaxHeight(Number maxHeight)
The responsive rule applies if the chart height is less than this.
-
getMaxWidth
public Number getMaxWidth()
See Also:
-
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
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
public void setMinWidth(Number minWidth)
The responsive rule applies if the chart width is greater than this.
Defaults to: 0
-
-