org.zkoss.zul.impl
Class SimpleChartEngine

java.lang.Object
  extended by org.zkoss.zul.impl.SimpleChartEngine
All Implemented Interfaces:
java.io.Serializable, ChartEngine

public class SimpleChartEngine
extends java.lang.Object
implements ChartEngine, java.io.Serializable

A Facade Chart engine implemented with JFreeChart.

This is the JFreeChart base chart engine implementation. All chart would support drilldown by providing Area hot spots. Each Area would callback to ChartAreaListener class that application developers can do processing on each area.

Author:
henrichen
See Also:
Serialized Form

Constructor Summary
SimpleChartEngine()
           
 
Method Summary
 byte[] drawChart(java.lang.Object data)
          Draw the chart and render into image format as an byte array.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleChartEngine

public SimpleChartEngine()
Method Detail

drawChart

public byte[] drawChart(java.lang.Object data)
Description copied from interface: ChartEngine
Draw the chart and render into image format as an byte array.

Specified by:
drawChart in interface ChartEngine
Parameters:
data - the data used in drawing a chart; depends on implementation.


Copyright © 2005-2007 Potix Corporation. All Rights Reserved.