|
|
@ -6,6 +6,7 @@ import com.fr.extended.chart.ExtendedHelper; |
|
|
|
import com.fr.extended.chart.HyperLinkPara; |
|
|
|
import com.fr.extended.chart.HyperLinkPara; |
|
|
|
import com.fr.extended.chart.export.ExportProcessor; |
|
|
|
import com.fr.extended.chart.export.ExportProcessor; |
|
|
|
import com.fr.extended.chart.export.JSExportProcessor; |
|
|
|
import com.fr.extended.chart.export.JSExportProcessor; |
|
|
|
|
|
|
|
import com.fr.general.ComparatorUtils; |
|
|
|
import com.fr.general.GeneralUtils; |
|
|
|
import com.fr.general.GeneralUtils; |
|
|
|
import com.fr.json.JSON; |
|
|
|
import com.fr.json.JSON; |
|
|
|
import com.fr.json.JSONArray; |
|
|
|
import com.fr.json.JSONArray; |
|
|
@ -52,6 +53,21 @@ public class DemoChart extends AbstractChart<DemoDataConfig>{ |
|
|
|
ExtendedHelper.writeFormula(this.getTitleFormula(), writer, "title"); |
|
|
|
ExtendedHelper.writeFormula(this.getTitleFormula(), writer, "title"); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
|
|
public Object clone() throws CloneNotSupportedException { |
|
|
|
|
|
|
|
DemoChart result = (DemoChart) super.clone(); |
|
|
|
|
|
|
|
result.setTitleFormula(this.getTitleFormula().clone()); |
|
|
|
|
|
|
|
return result; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
|
|
public boolean equals(Object ob) { |
|
|
|
|
|
|
|
return super.equals(ob) |
|
|
|
|
|
|
|
&& ob instanceof DemoChart |
|
|
|
|
|
|
|
&& ComparatorUtils.equals(this.getTitleFormula(), ((DemoChart) ob).getTitleFormula()) |
|
|
|
|
|
|
|
; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
protected String getChartID() { |
|
|
|
protected String getChartID() { |
|
|
|
return ID; |
|
|
|
return ID; |
|
|
|