org.zkoss.zul.event
Interface ChartAreaListener


public interface ChartAreaListener

Identifies area inside a chart that can be customized.

Author:
henrichen
See Also:
Chart

Method Summary
 void onRender(Area area, java.lang.Object data)
          Called when the chart is being cut into areas.
 

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


Copyright © 2005-2011 Potix Corporation. All Rights Reserved. SourceForge.net Logo