All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.fluorumlabs.disconnect.highcharts.ChartSelectionCallbackFunction Maven / Gradle / Ivy

There is a newer version: 0.1.0-alpha2
Show newest version
package com.github.fluorumlabs.disconnect.highcharts;

import java.lang.FunctionalInterface;
import js.lang.Any;
import js.web.dom.Event;
import org.teavm.jso.JSFunctor;

/**
 * Gets fired when an area of the chart has been selected. The default action
 * for the selection event is to zoom the chart to the selected area. It can be
 * prevented by calling event.preventDefault() or return false.
 *
 * @param event
 * Event informations
 *
 * @return Return false to prevent the default action, usually zoom.
 *
 */
@JSFunctor
@FunctionalInterface
public interface ChartSelectionCallbackFunction extends Any {
  boolean apply(Event event);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy