/// <summary> /// 单题 /// </summary> public string SingleBubbleDiagramChartStatistics(string practiceRecordId, string questionId) { SingleStudentQuestionStatisticsService singleStudentQuestionStatisticsService = new SingleStudentQuestionStatisticsService(); List <object> result = singleStudentQuestionStatisticsService.BubbleDiagramChartStatistics(practiceRecordId, questionId); return(MLPen.Helpers.JsonHelper.ToJSON(result)); }
public string TableChart(int type) { SingleStudentQuestionStatisticsService singleStudentQuestionStatisticsService = new SingleStudentQuestionStatisticsService(); var result = singleStudentQuestionStatisticsService.TableChart(mUCPractice.exerciseRecordId, mUCPractice.questionId.ToString(), type); return(MLPen.Helpers.JsonHelper.ToJSON(result)); }
/// <summary> /// 多题 /// </summary> public string AllBubbleDiagramChartStatistics(int status, int type) { if (status == 0) { SingleStudentPracticeStatisticsService singleStudentPracticeStatisticsService = new SingleStudentPracticeStatisticsService(); List <object> result = singleStudentPracticeStatisticsService.AllBubbleDiagramChartStatistics(mUCPractice.exerciseRecordId, type); return(MLPen.Helpers.JsonHelper.ToJSON(result)); } else { SingleStudentQuestionStatisticsService singleStudentQuestionStatisticsService = new SingleStudentQuestionStatisticsService(); List <object> result = singleStudentQuestionStatisticsService.BubbleDiagramChartStatistics(mUCPractice.exerciseRecordId, mUCPractice.questionId); return(MLPen.Helpers.JsonHelper.ToJSON(result)); } }