Class Pane
java.lang.Object
com.vaadin.flow.component.charts.model.AbstractConfigurationObject
com.vaadin.flow.component.charts.model.Pane
- All Implemented Interfaces:
Serializable
Applies only to polar charts and angular gauges. This configuration object
holds general options for the combined X and Y axes set. Each xAxis or yAxis
can reference the pane by index.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addBackground
(Background background) Adds background to the background arrayString[]
getSize()
void
removeBackground
(Background background) Removes first occurrence of background in background arrayvoid
setBackground
(Background... background) An object, or array of objects, for backgrounds.void
The center of a polar chart or angular gauge, given as an array of [x, y] positions.void
void
setEndAngle
(Number endAngle) The end angle of the polar X axis or gauge value axis, given in degrees where 0 is north.void
The size of the pane, either as a number defining pixels, or a percentage defining a percentage of the plot are.void
setStartAngle
(Number startAngle) The start angle of the polar X axis or gauge axis, given in degrees where 0 is north.
-
Constructor Details
-
Pane
public Pane() -
Pane
-
-
Method Details
-
getBackground
- See Also:
-
setBackground
An object, or array of objects, for backgrounds. -
addBackground
Adds background to the background array- Parameters:
background
- to add- See Also:
-
removeBackground
Removes first occurrence of background in background array- Parameters:
background
- to remove- See Also:
-
setCenter
The center of a polar chart or angular gauge, given as an array of [x, y] positions. Positions can be given as integers that transform to pixels, or as percentages of the plot area size.Defaults to: ["50%", "50%"]
-
getEndAngle
- See Also:
-
setEndAngle
The end angle of the polar X axis or gauge value axis, given in degrees where 0 is north. Defaults to startAngle + 360. -
getSize
- See Also:
-
setSize
The size of the pane, either as a number defining pixels, or a percentage defining a percentage of the plot are.Defaults to: 85%
-
getStartAngle
- See Also:
-
setStartAngle
The start angle of the polar X axis or gauge axis, given in degrees where 0 is north. Defaults to 0. -
setCenter
-
getCenter
-