vaadin / vaadin-charts-flow

Vaadin Charts for Flow
Other
7 stars 11 forks source link

addItemWithDrilldown(DataSeriesItem) has wrong Java doc #321

Closed TatuLund closed 4 years ago

TatuLund commented 4 years ago

The JavaDoc is the following

/**
 * Adds a new item to the series data and enables drilldown for it. Used for
 * lazy loading drilldown. Using async drilldown requires setting
 * {@link Chart#setDrilldownCallback(com.vaadin.flow.component.charts.DrilldownCallbackHandler)}
 * to return a {@link Series} when drilldown is done.
 * 
 * The remaining drilldown configurations can be set in
 * {@link Configuration#getDrilldown()}
 * 
 * @param item
 */

In newest version setDrilldownCallback has been replaced with addDrilldownListener

Furthermore it is not possible to update data series content in drill down event.