public interface HasChartBackgroundDrawnHandlers extends com.google.gwt.event.shared.HasHandlers
|Modifier and Type||Method and Description|
Called when most elements of the chart other than data data have been drawn, including gradations and legend.
com.google.gwt.event.shared.HandlerRegistration addChartBackgroundDrawnHandler(ChartBackgroundDrawnHandler handler)
This notification will be fired each time the chart is redrawn (due to resize, data change, etc). If you want to draw
additional information on the chart using
DrawPane (FacetChart's superclass)
DrawItems, you should do in response to this notification. Due
to auto-sizing, APIs that are typically used to position custom DrawItems (such as
getChartLeft()) may return bad values if called at other
Additional DrawItems added in this method will appear underneath data elements such as bars or columns. See
FacetChart.chartDrawn() for placing DrawItems
on top of data elements.
handler- the chartBackgroundDrawn handler
HandlerRegistrationused to remove this handler