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.
23 lines
637 B
23 lines
637 B
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 new NewTitleGlyph("iPhone", "iPhone"); |
|
} |
|
|
|
public NewLegendGlyph createChartLegendGlyph(ChartData chartData) { |
|
return new NewLegendGlyph(); |
|
} |
|
}
|
|
|