Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- switch (props.name) {
- case "yAggregation":
- newState.requestConfig.yAggregation = value;
- break;
- case "yField":
- newState.requestConfig.yField = value;
- break;
- case "yCount":
- newState.requestConfig.yCount = value;
- break;
- case "yInterval":
- newState.requestConfig.yInterval = value;
- break;
- case "xAggregation":
- newState.requestConfig.xAggregation = value;
- break;
- case "xField":
- newState.requestConfig.xField = value;
- break;
- case "xCount":
- newState.requestConfig.xCount = value;
- break;
- case "xInterval":
- newState.requestConfig.xInterval = value;
- break;
- }
- newState.requestConfig[props.name] = value;
Add Comment
Please, Sign In to add comment