com.vaadin.flow.component.charts.model.
Class Drilldown
All Implemented Interfaces:
Options for drill down, the concept of inspecting increasingly high resolution data through clicking on chart items like columns or pie slices.
See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
setActiveAxisLabelStyle
(Style activeAxisLabelStyle) Additional styles to apply to the X axis label for a point that has drilldown data.
void
setActiveDataLabelStyle
(Style activeDataLabelStyle) Additional styles to apply to the data label of a point that has drilldown data.
void
setAllowPointDrilldown
(Boolean allowPointDrilldown) When this option is false, clicking a single point will drill down all points in the same category, equivalent to clicking the X axis label.
void
setAnimation
(Boolean animation) Set the animation for all drilldown animations.
void
setConfiguration
(Configuration configuration) Sets the configuration linked to the drilldown series.
void
setDrillUpButton
(DrillUpButton drillUpButton) Options for the drill up button that appears when drilling down on a series.
-
Constructor Details
-
Drilldown
public Drilldown()
-
-
Method Details
-
setConfiguration
Sets the configuration linked to the drilldown series.
Parameters:
configuration
- -
getConfiguration
Returns:
the
Configuration
that this series is linked to.See Also:
-
getActiveAxisLabelStyle
Returns:
See Also:
-
setActiveAxisLabelStyle
Additional styles to apply to the X axis label for a point that has drilldown data.
Parameters:
activeAxisLabelStyle
- -
getActiveDataLabelStyle
Returns:
See Also:
-
setActiveDataLabelStyle
Additional styles to apply to the data label of a point that has drilldown data.
Parameters:
activeDataLabelStyle
- -
getAnimation
Returns:
true if animation is enabled false otherwse.
-
setAnimation
Set the animation for all drilldown animations. Animation of a drilldown occurs when drilling between a column point and a column series, or a pie slice and a full pie series. Drilldown can still be used between series and points of different types, but animation will not occur.
Parameters:
animation
- -
getDrillUpButton
Returns:
See Also:
-
setDrillUpButton
Options for the drill up button that appears when drilling down on a series. The text for the button is defined in
Lang.setDrillUpText(String)
.Parameters:
drillUpButton
- -
getAllowPointDrilldown
See Also:
-
setAllowPointDrilldown
When this option is false, clicking a single point will drill down all points in the same category, equivalent to clicking the X axis label.
Defaults to: true
-