You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Ivan.Guo-郭一凡
99f7d1afdc
|
6 months ago | |
---|---|---|
src/main | 6 months ago | |
说明 | 6 months ago | |
.gitignore | 9 months ago | |
README.md | 6 months ago | |
build.gradle | 9 months ago | |
encrypt.xml | 9 months ago | |
plugin.xml | 6 months ago |
README.md
BI6新图表接口
com.finebi.provider.api.component.CustomComponentProvider
com.finebi.provider.api.component.AbstractCustomComponentProvider
package com.finebi.provider.api.component;
import com.finebi.common.context.OperationContext;
import com.finebi.provider.api.component.data.DataModel;
import com.fr.common.annotations.Open;
import com.fr.stable.fun.mark.Mutable;
import com.fr.web.struct.AssembleComponent;
import java.util.List;
@Open
public interface CustomComponentProvider extends Mutable {
String XML_TAG = "CustomComponentProvider";
int CURRENT_LEVEL = 1;
/**
* 图表名称
*/
String getName();
/**
* 图表类型
*/
String getType();
/**
* 图表Icon
*/
String getIcon();
/**
* 空自定义图表提示,不写默认取 icon
*/
String getPreviewIcon();
/**
* 编辑界面HTML
*/
String getEditPageHTML(OperationContext var1);
/**
* 编辑组件
*/
AssembleComponent editClient(OperationContext var1);
/**
* 预览界面HTML
*/
String getPreviewPageHTML(OperationContext var1);
/**
* 预览组件
*/
AssembleComponent previewClient(OperationContext var1);
/**
* 配置
*/
String config();
/**
* 是否需要进行数据处理
*/
boolean needDataProcess(CustomComponentContext var1);
/**
* 后端数据处理方法,needDataProcess为true时调用
*/
List<DataModel> process(List<DataModel> var1, CustomComponentContext var2);
}