com.vaadin.flow.component.charts.model.

Class Drilldown

  • All Implemented Interfaces:

    Serializable


    public class Drilldown
    extends AbstractConfigurationObject

    Options for drill down, the concept of inspecting increasingly high resolution data through clicking on chart items like columns or pie slices.

    See Also:

    Serialized Form

    • Constructor Detail

      • Drilldown

        public Drilldown()
    • Method Detail

      • setConfiguration

        public void setConfiguration(Configuration configuration)

        Sets the configuration linked to the drilldown series.

        Parameters:

        configuration -

      • getAnimation

        public Boolean getAnimation()

        Returns:

        true if animation is enabled false otherwse.

      • setAnimation

        public void setAnimation(Boolean animation)

        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 -

      • setDrillUpButton

        public void setDrillUpButton(DrillUpButton drillUpButton)

        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 -

      • setAllowPointDrilldown

        public 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.

        Defaults to: true