📄 chartengine.java
字号:
/* ChartEngine.java
{{IS_NOTE
Purpose:
Description:
History:
Wed Aug 03 11:22:44 2006, Created by henrichen
}}IS_NOTE
Copyright (C) 2006 Potix Corporation. All Rights Reserved.
{{IS_RIGHT
This program is distributed under GPL Version 2.0 in the hope that
it will be useful, but WITHOUT ANY WARRANTY.
}}IS_RIGHT
*/
package org.zkoss.zul.impl;
/**
* Chart engine is an engine that do the real chart rendering.
*
* This interface defines the chart engine for components like {@link org.zkoss.zul.Chart}
* use to get the value of each data and the size of the chart data.
*
* @author henrichen
* @see org.zkoss.zul.Chart
* @see org.zkoss.zul.ChartModel
* @see org.zkoss.zul.event.ChartAreaListener
*/
public interface ChartEngine {
/**
* Draw the chart and render into image format as an byte array.
* @param data the data used in drawing a chart; depends on implementation.
*/
public byte[] drawChart(Object data);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -