Browse Source

addjson 接口改动

master
zheng 6 years ago
parent
commit
cf532f7742
  1. 2
      src/com/fr/plugin/demo/DemoChart.java

2
src/com/fr/plugin/demo/DemoChart.java

@ -119,7 +119,7 @@ public class DemoChart extends AbstractChart<DemoDataConfig>{
@ExecuteFunctionRecord @ExecuteFunctionRecord
@Override @Override
protected void addJSON(DemoDataConfig dataConfig, JSONObject jsonObject, Repository repo) throws JSONException { protected void addJSON(DemoDataConfig dataConfig, JSONObject jsonObject, Repository repo, JSONPara para) throws JSONException {
jsonObject.put("theme", getThemeType() == ThemeType.DARK ? "dark" : "sth whatever"); jsonObject.put("theme", getThemeType() == ThemeType.DARK ? "dark" : "sth whatever");
jsonObject.put("title", JSONFactory.createJSON(JSON.OBJECT).put("text", getTitleFormula().getResult())); jsonObject.put("title", JSONFactory.createJSON(JSON.OBJECT).put("text", getTitleFormula().getResult()));

Loading…
Cancel
Save