Víctor Gómez
Víctor Gómez

Reputation: 722

Drillup Button Click Listener - Vaadin Charts

I know that drillup button works on the client side, but is there any way to know when that button is clicked?

Upvotes: 0

Views: 178

Answers (1)

Dragan Radevic
Dragan Radevic

Reputation: 801

In the ColumnWithLazyMultiLevelDrilldown class you can see example of using ChartDrillupListener.

Chart chart = new Chart(ChartType.COLUMN);

chart.addChartDrillupListener(new ChartDrillupListener() {

  @Override
  public void onDrillup(ChartDrillupEvent event) {
      log("ChartDrillupEvent");
  }
});

Upvotes: 1

Related Questions