示例#1
0
            /// <summary>
            /// 复合柱形图
            /// </summary>
            public string MultiBarChartStatistics(int type)
            {
                Dictionary <string, object> result = new Dictionary <string, object>();

                if (type == 1)
                {
                    AllStudentKnowledgeStatisticsService allStudentKnowledgeStatisticsService = new AllStudentKnowledgeStatisticsService();
                    result = allStudentKnowledgeStatisticsService.MultiBarChartStatistics(mUCPractice.exerciseRecordId);
                }
                else
                {
                    AllStudentQuestionStatisticsService allStudentQuestionStatisticsService = new AllStudentQuestionStatisticsService();
                    result = allStudentQuestionStatisticsService.MultiBarChartStatistics(mUCPractice.exerciseRecordId);
                }
                string s = MLPen.Helpers.JsonHelper.ToJSON(result);

                return(MLPen.Helpers.JsonHelper.ToJSON(result));
            }