Interface ChartAreaListener


public interface ChartAreaListener
Identifies area inside a chart that can be customized.
Author:
henrichen
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onRender(Area area, Object data)
    Called when the chart is being cut into areas.
  • Method Details

    • onRender

      void onRender(Area area, Object data) throws Exception
      Called when the chart is being cut into areas. When this method is called, the area has been initiated with its default value already. Each time the chart is repainted, the area is new created.
      Parameters:
      area - the area that cutting a chart. Note: when this method is called, the area has been initiated with its default value already.
      data - generic data used to pass data from ChartEngine.
      Throws:
      Exception