Interface ChartAreaListener


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

      • onRender

        void onRender​(Area area,
                      java.lang.Object data)
               throws java.lang.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:
        java.lang.Exception