/// <summary> /// 线数走势图 /// </summary> public string LineChartStatistics(int type) { Dictionary <string, object> result = new Dictionary <string, object>(); if (type == 1) { AllStudentKnowledgeStatisticsService allStudentKnowledgeStatisticsService = new AllStudentKnowledgeStatisticsService(); result = allStudentKnowledgeStatisticsService.LineChartStatistics(mUCPractice.exerciseRecordId); } else { AllStudentQuestionStatisticsService allStudentQuestionStatisticsService = new AllStudentQuestionStatisticsService(); result = allStudentQuestionStatisticsService.LineChartStatistics(mUCPractice.exerciseRecordId); } return(MLPen.Helpers.JsonHelper.ToJSON(result)); }