Class AtLeastOneDatasetHandler
- java.lang.Object
-
- org.pepstock.charba.client.impl.callbacks.AtLeastOneDatasetHandler
-
- All Implemented Interfaces:
ChartEventHandler
,EventHandler
,LegendClickEventHandler
public class AtLeastOneDatasetHandler extends Object implements LegendClickEventHandler
Implementation of legend click handler which disable the capability to hide the last visible dataset.
In this way, always a dataset is showed.- Author:
- Andrea "Stock" Stocchero
-
-
Constructor Summary
Constructors Constructor Description AtLeastOneDatasetHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onClick(LegendClickEvent event)
Invoked when the user clicks on the chart legend.
-
-
-
Method Detail
-
onClick
public void onClick(LegendClickEvent event)
Description copied from interface:LegendClickEventHandler
Invoked when the user clicks on the chart legend.- Specified by:
onClick
in interfaceLegendClickEventHandler
- Parameters:
event
- legend click event
-
-