Uses of Interface
org.pepstock.charba.client.events.EventHandler
-
Packages that use EventHandler Package Description org.pepstock.charba.client Main package with all charts implementation, global classes and common interfaces.org.pepstock.charba.client.configuration Contains all elements to configure a chart instance (know as chart options at instance level).org.pepstock.charba.client.events Contains all events to interact with chart instance.org.pepstock.charba.client.geo Contains all classes to activate the GEO controllers (AKAchartjs-chart-geo.js) for CHART.js.org.pepstock.charba.client.gwt.widgets Contains all charts classes wrapped as GWT widget in order to enable to use inside to GWT UIBinder.org.pepstock.charba.client.impl.callbacks Contains some callbacks implementations, available out-of-the box.org.pepstock.charba.client.impl.charts Contains METER and GAUGE charts implementations (based on controllers), available out-of-the box.org.pepstock.charba.client.matrix Contains all classes to activate the Matrix controller (AKAchartjs-chart-matrix.js) for CHART.js.org.pepstock.charba.client.sankey Contains all classes to activate the Sankey controller (AKAchartjs-chart-sankey.js) for CHART.js.org.pepstock.charba.client.treemap Contains all classes to activate the TreeMap controller (AKAchartjs-chart-treemap.js) for CHART.js. -
-
Uses of EventHandler in org.pepstock.charba.client
Methods in org.pepstock.charba.client with parameters of type EventHandler Modifier and Type Method Description HandlerRegistrationAbstractChart. addHandler(EventHandler handler, EventType type)HandlerRegistrationIsChart. addHandler(EventHandler handler, EventType type)Adds this handler to the widget. -
Uses of EventHandler in org.pepstock.charba.client.configuration
Classes in org.pepstock.charba.client.configuration that implement EventHandler Modifier and Type Class Description classAbstractPieOptionsAbstract options for PIE chart.classAnimationIt animates charts out of the box.
A number of options are provided to configure how the animation looks and how long it takes.
This configuration item is configuring the common animation properties.classBarOptionsSpecific options for BAR chart.classBubbleOptionsSpecific options for BUBBLE chart.classConfigurationOptionsBase object which maps chart configuration.
CHARBA stores the unique chart ID in the CHART.JS chart options usingcharbaIdproperty key.
Important topics to take care:
Responsive
When it comes to change the chart size based on the window size, a major limitation is that the canvas render size (canvas.width and .height) can not be expressed with relative values, contrary to the display size (canvas.style.width and .height).classDoughnutOptionsSpecific options for DOUGHNUT chart.classHorizontalBarOptionsSpecific options for HORIZONTAL BAR chart.classLegendThe chart legend displays data about the datasets that area appearing on the chart.classLineOptionsSpecific options for LINE chart.classPieOptionsSpecific options for PIE chart.classPolarAreaOptionsSpecific options for POLAR AREA chart.classRadarOptionsSpecific options for RADAR chart.classScalesOptionsConfiguration of chart with multiple scales.classScatterOptionsSpecific options for SCATTER chart.classStackedOptionsConfiguration of chart which could be stacked.
It uses Category axis for X axis and Linear for Y axis.classTimeSeriesBarOptionsSpecific options for BAR chart, for time series.classTimeSeriesLineOptionsSpecific options for LINE chartfor time series.classVerticalLineOptionsSpecific options for vertical LINE chart. -
Uses of EventHandler in org.pepstock.charba.client.events
Subinterfaces of EventHandler in org.pepstock.charba.client.events Modifier and Type Interface Description interfaceAddHandlerEventHandlerEvent handler for new event handler.interfaceAnimationCompleteEventHandlerEvent handler for chart animation complete event.interfaceAnimationProgressEventHandlerEvent handler for chart animation progress event.interfaceAxisClickEventHandlerEvent handler for clicking on the chart axis.interfaceAxisEnterEventHandlerEvent handler for entering on the chart axis.interfaceAxisHoverEventHandlerEvent handler for hovering on the chart axis.interfaceAxisLeaveEventHandlerEvent handler for leaving on the chart axis.interfaceChartClickEventHandlerEvent handler for clicking on the chart.interfaceChartEventHandlerCommon interface for all chart event handlers, used to recognize when the chart event handlers (and only the chart ones) have been activated.interfaceChartHoverEventHandlerEvent handler for hovering on the chart.interfaceChartResizeEventHandlerEvent handler for chart resize event managing.interfaceDatasetRangeCleanSelectionEventHandlerEvent handler for chart area cleaning, byDatasetsItemsSelector.IDplugin.interfaceDatasetRangeSelectionEventHandlerEvent handler for chart area selecting, byDatasetsItemsSelector.IDplugin.interfaceDatasetSelectionEventHandlerEvent handler for chart dataset selecting.interfaceLegendClickEventHandlerEvent handler for clicking on the chart legend.interfaceLegendHoverEventHandlerEvent handler for hovering on the chart legend.interfaceLegendLeaveEventHandlerEvent handler for leaving on the chart legend.interfaceRemoveHandlerEventHandlerEvent handler for removing a chart event handler.interfaceSubtitleClickEventHandlerEvent handler for clicking on the chart subtitle.interfaceSubtitleEnterEventHandlerEvent handler for entering on the chart title.interfaceSubtitleLeaveEventHandlerEvent handler for leaving on the chart title.interfaceTitleClickEventHandlerEvent handler for clicking on the chart title.interfaceTitleEnterEventHandlerEvent handler for entering on the chart title.interfaceTitleLeaveEventHandlerEvent handler for leaving on the chart title.Methods in org.pepstock.charba.client.events with parameters of type EventHandler Modifier and Type Method Description HandlerRegistrationHandlerManager. addHandler(EventHandler handler, EventType type)Adds a event handler.protected voidAddHandlerEvent. dispatch(EventHandler handler)protected voidAnimationCompleteEvent. dispatch(EventHandler handler)protected voidAnimationProgressEvent. dispatch(EventHandler handler)protected voidAxisClickEvent. dispatch(EventHandler handler)protected voidAxisEnterEvent. dispatch(EventHandler handler)protected voidAxisHoverEvent. dispatch(EventHandler handler)protected voidAxisLeaveEvent. dispatch(EventHandler handler)protected voidChartClickEvent. dispatch(EventHandler handler)protected voidChartHoverEvent. dispatch(EventHandler handler)protected voidChartResizeEvent. dispatch(EventHandler handler)protected voidDatasetRangeCleanSelectionEvent. dispatch(EventHandler handler)protected voidDatasetRangeSelectionEvent. dispatch(EventHandler handler)protected voidDatasetSelectionEvent. dispatch(EventHandler handler)protected abstract voidEvent. dispatch(EventHandler handler)Implemented by subclasses to dispatch event on the handler.protected voidLegendClickEvent. dispatch(EventHandler handler)protected voidLegendHoverEvent. dispatch(EventHandler handler)protected voidLegendLeaveEvent. dispatch(EventHandler handler)protected voidRemoveHandlerEvent. dispatch(EventHandler handler)protected voidSubtitleClickEvent. dispatch(EventHandler handler)protected voidSubtitleEnterEvent. dispatch(EventHandler handler)protected voidSubtitleLeaveEvent. dispatch(EventHandler handler)protected voidTitleClickEvent. dispatch(EventHandler handler)protected voidTitleEnterEvent. dispatch(EventHandler handler)protected voidTitleLeaveEvent. dispatch(EventHandler handler) -
Uses of EventHandler in org.pepstock.charba.client.geo
Classes in org.pepstock.charba.client.geo that implement EventHandler Modifier and Type Class Description classBubbleMapOptionsSpecific options for bubble map chart.classChoroplethOptionsSpecific options for choropleth chart. -
Uses of EventHandler in org.pepstock.charba.client.gwt.widgets
Methods in org.pepstock.charba.client.gwt.widgets with parameters of type EventHandler Modifier and Type Method Description HandlerRegistrationAbstractChartWidget. addHandler(EventHandler handler, EventType type) -
Uses of EventHandler in org.pepstock.charba.client.impl.callbacks
Classes in org.pepstock.charba.client.impl.callbacks that implement EventHandler Modifier and Type Class Description classAtLeastOneDatasetHandlerImplementation of legend click handler which disable the capability to hide the last visible dataset.
In this way, always a dataset is showed. -
Uses of EventHandler in org.pepstock.charba.client.impl.charts
Classes in org.pepstock.charba.client.impl.charts that implement EventHandler Modifier and Type Class Description classGaugeOptionsSpecific options for GAUGE chart.classMeterOptionsSpecific options for METER chart. -
Uses of EventHandler in org.pepstock.charba.client.matrix
Classes in org.pepstock.charba.client.matrix that implement EventHandler Modifier and Type Class Description classMatrixOptionsSpecific options for matrix chart.
Disables legend at the beginning but you can enable when needed. -
Uses of EventHandler in org.pepstock.charba.client.sankey
Classes in org.pepstock.charba.client.sankey that implement EventHandler Modifier and Type Class Description classSankeyOptionsSpecific options for sankey chart.
Disables legend at the beginning but you can enable when needed. -
Uses of EventHandler in org.pepstock.charba.client.treemap
Classes in org.pepstock.charba.client.treemap that implement EventHandler Modifier and Type Class Description classTreeMapOptionsSpecific options for treemap chart.
-