Browse Source

Merge pull request #17 in PG/plugin-report-doc-demo from ~ZACK/plugin-report-doc-demo:release/10.0 to release/10.0

* commit '2bf2dd090cfbdce7db015891aad11838b5a2fa36':
  无JIRA任务  图表接口更新
pull/2/head
zack 5 years ago
parent
commit
4312da4d33
  1. 23
      src/main/java/com/fr/plugin/chart/IndependentChartProviderImpl.java
  2. 5
      src/main/java/com/fr/plugin/chart/IndependentChartUIProviderImpl.java

23
src/main/java/com/fr/plugin/chart/IndependentChartProviderImpl.java

@ -1,9 +1,10 @@
package com.fr.plugin.chart;
import com.fr.chart.chartattr.Chart;
import com.fr.chart.fun.impl.AbstractIndependentChartProvider;
import com.fr.chart.fun.impl.AbstractIndependentChartsProvider;
import com.fr.stable.StringUtils;
public class IndependentChartProviderImpl extends AbstractIndependentChartProvider {
public class IndependentChartProviderImpl extends AbstractIndependentChartsProvider {
@Override
public void init() {
@ -15,12 +16,22 @@ public class IndependentChartProviderImpl extends AbstractIndependentChartProvid
}
@Override
public String getChartName() {
return "";
public Chart[] getChartTypes() {
return null;
}
@Override
public Chart[] getChartTypes() {
return null;
public String[] getRequiredJS() {
return new String[0];
}
@Override
public String getWrapperName() {
return StringUtils.EMPTY;
}
@Override
public int currentAPILevel() {
return 0;
}
}

5
src/main/java/com/fr/plugin/chart/IndependentChartUIProviderImpl.java

@ -15,6 +15,11 @@ public class IndependentChartUIProviderImpl extends AbstractExtendedChartUIProvi
return null;
}
@Override
public String[] getDemoImagePath() {
return new String[0];
}
@Override
public String getIconPath() {
return "";

Loading…
Cancel
Save