|
|
|
@ -119,7 +119,7 @@ public class DemoChart extends AbstractChart<DemoDataConfig>{
|
|
|
|
|
|
|
|
|
|
@ExecuteFunctionRecord |
|
|
|
|
@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("title", JSONFactory.createJSON(JSON.OBJECT).put("text", getTitleFormula().getResult())); |
|
|
|
|