|
|
@ -136,8 +136,11 @@ public class DemoChart extends AbstractChart<DemoDataConfig>{ |
|
|
|
|
|
|
|
|
|
|
|
// jsonObject.put("targetName", dataConfig.getTargetName());
|
|
|
|
// jsonObject.put("targetName", dataConfig.getTargetName());
|
|
|
|
|
|
|
|
|
|
|
|
List<Object> expectList = dataConfig.getExpect().getValues(); |
|
|
|
// List<Object> expectList = dataConfig.getExpect().getValues();
|
|
|
|
List<Object> actualList = dataConfig.getActual().getValues(); |
|
|
|
// List<Object> actualList = dataConfig.getActual().getValues();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
List<Object> customNames = dataConfig.getCustomNameField().getValues(); |
|
|
|
|
|
|
|
List<Object> customValues = dataConfig.getCustomValueField().getValues(); |
|
|
|
|
|
|
|
|
|
|
|
for (int i = 0, len = xValues.size(); i < len; i++) { |
|
|
|
for (int i = 0, len = xValues.size(); i < len; i++) { |
|
|
|
maxValue = Math.max(GeneralUtils.objectToNumber(zValues.get(i)).doubleValue(), maxValue); |
|
|
|
maxValue = Math.max(GeneralUtils.objectToNumber(zValues.get(i)).doubleValue(), maxValue); |
|
|
|