richie
9 years ago
8 changed files with 115 additions and 9 deletions
@ -0,0 +1,9 @@
|
||||
package com.fr.solution.plugin.chart.echarts.base; |
||||
|
||||
import com.fr.chart.chartglyph.LegendGlyph; |
||||
|
||||
/** |
||||
* Created by richie on 16/2/2. |
||||
*/ |
||||
public class NewLegendGlyph extends LegendGlyph { |
||||
} |
@ -0,0 +1,23 @@
|
||||
package com.fr.solution.plugin.chart.echarts.base; |
||||
|
||||
import com.fr.base.chart.chartdata.ChartData; |
||||
import com.fr.chart.chartattr.Plot; |
||||
import com.fr.general.ComparatorUtils; |
||||
|
||||
/** |
||||
* Created by richie on 16/2/2. |
||||
*/ |
||||
public abstract class NewPlot extends Plot { |
||||
|
||||
public boolean accept(Class<? extends Plot> obClass) { |
||||
return ComparatorUtils.equals(NewPlot.class, obClass); |
||||
} |
||||
|
||||
public NewTitleGlyph createChartTitleGlyph(ChartData chartData) { |
||||
return null; |
||||
} |
||||
|
||||
public NewLegendGlyph createChartLegendGlyph(ChartData chartData) { |
||||
return new NewLegendGlyph(); |
||||
} |
||||
} |
@ -0,0 +1,10 @@
|
||||
package com.fr.solution.plugin.chart.echarts.base; |
||||
|
||||
import com.fr.chart.chartglyph.ChartGlyph; |
||||
|
||||
/** |
||||
* Created by richie on 16/2/2. |
||||
*/ |
||||
public class NewSeriesGlyph extends ChartGlyph { |
||||
|
||||
} |
@ -0,0 +1,23 @@
|
||||
package com.fr.solution.plugin.chart.echarts.base; |
||||
|
||||
import com.fr.chart.chartglyph.ChartGlyph; |
||||
import com.fr.json.JSONException; |
||||
import com.fr.json.JSONObject; |
||||
import com.fr.stable.web.Repository; |
||||
|
||||
/** |
||||
* Created by richie on 16/2/2. |
||||
*/ |
||||
public class NewTitleGlyph extends ChartGlyph { |
||||
|
||||
|
||||
public NewTitleGlyph(String title, String subTitle) { |
||||
|
||||
} |
||||
|
||||
@Override |
||||
public JSONObject toJSONObject(Repository repo) throws JSONException { |
||||
return super.toJSONObject(repo); |
||||
} |
||||
|
||||
} |
Loading…
Reference in new issue