From 2bf2dd090cfbdce7db015891aad11838b5a2fa36 Mon Sep 17 00:00:00 2001 From: zack Date: Tue, 15 Oct 2019 15:38:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0JIRA=E4=BB=BB=E5=8A=A1=20=20=E5=9B=BE?= =?UTF-8?q?=E8=A1=A8=E6=8E=A5=E5=8F=A3=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../chart/IndependentChartProviderImpl.java | 23 ++++++++++++++----- .../chart/IndependentChartUIProviderImpl.java | 5 ++++ 2 files changed, 22 insertions(+), 6 deletions(-) diff --git a/src/main/java/com/fr/plugin/chart/IndependentChartProviderImpl.java b/src/main/java/com/fr/plugin/chart/IndependentChartProviderImpl.java index bd1b741..7d9b6f8 100644 --- a/src/main/java/com/fr/plugin/chart/IndependentChartProviderImpl.java +++ b/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; } } \ No newline at end of file diff --git a/src/main/java/com/fr/plugin/chart/IndependentChartUIProviderImpl.java b/src/main/java/com/fr/plugin/chart/IndependentChartUIProviderImpl.java index 9445e2d..140b6ea 100644 --- a/src/main/java/com/fr/plugin/chart/IndependentChartUIProviderImpl.java +++ b/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 "";