com.smartgwt.client.widgets.chart

## Interface HasChartBackgroundDrawnHandlers

- All Superinterfaces:
    com.google.gwt.event.shared.HasHandlers
  All Known Implementing Classes:
    FacetChart

      public interface HasChartBackgroundDrawnHandlers
      extends com.google.gwt.event.shared.HasHandlers

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `com.google.gwt.event.shared.HandlerRegistration` | `addChartBackgroundDrawnHandler(ChartBackgroundDrawnHandler handler)` Called when most elements of the chart other than data data have been drawn, including gradations and legend.

    - ### Methods inherited from interface com.google.gwt.event.shared.HasHandlers

      `fireEvent`

- - ### Method Detail

    - #### addChartBackgroundDrawnHandler

          com.google.gwt.event.shared.HandlerRegistration addChartBackgroundDrawnHandler(ChartBackgroundDrawnHandler handler)

      Called when most elements of the chart other than data data have been drawn, including gradations and legend.

      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) and various `DrawItem`s, you should do in response to this notification. Due to auto-sizing, APIs that are typically used to position custom DrawItems (such as `FacetChart.getChartLeft`) may return bad values if called at other times.

      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.

      Parameters:
        `handler` - the chartBackgroundDrawn handler
      Returns:
        `HandlerRegistration` used to remove this handler