91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 2.45MB
    文件類型: .zip
    金幣: 2
    下載: 0 次
    發(fā)布日期: 2023-10-31
  • 語言: 其他
  • 標(biāo)簽: java??ssm??

資源簡介

用ssm框架構(gòu)建的項目,實現(xiàn)基本的增刪改查,前端頁面能顯示后端管理員發(fā)布的考試信息,學(xué)生然后登錄考試

資源截圖

代碼片段和文件信息

package?com.taohan.online.exam.charts;

import?java.util.Map;
import?java.util.Set;

import?org.springframework.stereotype.Repository;

import?com.github.abel533.echarts.axis.CategoryAxis;
import?com.github.abel533.echarts.axis.ValueAxis;
import?com.github.abel533.echarts.code.Magic;
import?com.github.abel533.echarts.code.Tool;
import?com.github.abel533.echarts.code.Trigger;
import?com.github.abel533.echarts.code.X;
import?com.github.abel533.echarts.code.Y;
import?com.github.abel533.echarts.feature.MagicType;
import?com.github.abel533.echarts.json.GsonOption;
import?com.github.abel533.echarts.series.Line;
import?com.taohan.online.exam.po.ClassInfo;

/**
??*
??*?

title:?StudentCount


??*?

Description:?(年級下/所有)班級的學(xué)生總量?相關(guān)圖表Json數(shù)據(jù)生成


??*?@author:?taohan
??*?@date:?2018-9-17
??*?@time:?下午7:03:13
??*?@version:?1.0
??*/

@Repository
public?class?StudentCount?{

/**
?*?班級對應(yīng)學(xué)生人數(shù)折線圖
?*?@param?data
?*?@return
?*/
public?static?String?createBarJson(Mapject>?data)?{
Set?set?=?data.keySet();

GsonOption?option?=?new?GsonOption();
option.title().text(“班級學(xué)生數(shù)量統(tǒng)計“).x(X.center).y(Y.top).borderWidth(1).textstyle().color(“#438EB9“);
option.toolbox().show(true).feature(Tool.mark?Tool.restore?new?MagicType(Magic.bar?Magic.line)?Tool.saveAsImage).x(X.right).y(Y.top);
//數(shù)據(jù)默認(rèn)觸發(fā),?鼠標(biāo)移入顯示豎線??trigger(Trigger.axis)
option.tooltip().formatter(“{b}?{c}人“).trigger(Trigger.axis);

option.legend().data(“班級總?cè)藬?shù)“).x(X.center).y(Y.bottom).borderWidth(1);

Line?line?=?new?Line(“班級總?cè)藬?shù)“);

//值軸
ValueAxis?valueAxis?=?new?ValueAxis();
valueAxis.axisLabel().formatter(“{value}人“).textstyle().color(“#438EB9“);
//valueAxis.min(0);
option.yAxis(valueAxis);

//類目軸
CategoryAxis?categoryAxis?=?new?CategoryAxis();
//interval(0):設(shè)置橫軸信息全部顯示
//rotate(-30):設(shè)置?-30?度角傾斜顯示
categoryAxis.axisLabel().interval(0).rotate(-30).textstyle().color(“#438EB9“);

for?(String?className?:?set)?{
categoryAxis.data(className);
ClassInfo?classInfo?=?(ClassInfo)data.get(className);
line.data(classInfo.getClassId());
}

option.xAxis(categoryAxis);
line.smooth(true);
option.series(line);
option.grid().x(100);
System.out.println(option.toString());
return?option.toString();
}
}

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2018-09-20?19:40??OnlineExam_taohan\
?????文件????????1101??2018-09-20?16:46??OnlineExam_taohan\.classpath
?????目錄???????????0??2018-09-20?19:39??OnlineExam_taohan\.idea\
?????目錄???????????0??2018-09-20?17:05??OnlineExam_taohan\.idea\artifacts\
?????文件????????7504??2018-09-20?17:05??OnlineExam_taohan\.idea\artifacts\OnlineExam_taohan_war_exploded.xml
?????文件?????????159??2018-09-20?17:06??OnlineExam_taohan\.idea\encodings.xml
?????目錄???????????0??2018-09-20?17:03??OnlineExam_taohan\.idea\inspectionProfiles\
?????文件?????????155??2018-09-20?17:03??OnlineExam_taohan\.idea\inspectionProfiles\Project_Default.xml
?????文件?????????274??2018-09-20?17:33??OnlineExam_taohan\.idea\misc.xml
?????文件?????????274??2018-09-20?17:03??OnlineExam_taohan\.idea\modules.xml
?????文件???????48936??2018-09-20?19:39??OnlineExam_taohan\.idea\workspace.xml
?????文件????????1050??2018-09-20?16:46??OnlineExam_taohan\.project
?????目錄???????????0??2018-09-20?17:03??OnlineExam_taohan\.settings\
?????文件?????????503??2018-09-20?16:47??OnlineExam_taohan\.settings\.jsdtscope
?????文件?????????364??2018-09-20?16:47??OnlineExam_taohan\.settings\org.eclipse.jdt.core.prefs
?????文件?????????580??2018-09-20?16:47??OnlineExam_taohan\.settings\org.eclipse.wst.common.component
?????文件?????????345??2018-09-20?16:47??OnlineExam_taohan\.settings\org.eclipse.wst.common.project.facet.core.xml
?????文件??????????49??2018-09-20?16:47??OnlineExam_taohan\.settings\org.eclipse.wst.jsdt.ui.superType.container
?????文件???????????6??2018-09-20?16:47??OnlineExam_taohan\.settings\org.eclipse.wst.jsdt.ui.superType.name
?????目錄???????????0??2018-09-20?17:03??OnlineExam_taohan\build\
?????目錄???????????0??2018-09-20?18:19??OnlineExam_taohan\config\
?????文件????????1069??2018-09-20?18:19??OnlineExam_taohan\config\db.properties
?????文件?????????310??2018-09-20?16:46??OnlineExam_taohan\config\log4j.properties
?????目錄???????????0??2018-09-20?17:03??OnlineExam_taohan\config\mybatis\
?????目錄???????????0??2018-09-20?17:03??OnlineExam_taohan\config\mybatis\mapper\
?????文件????????3661??2018-09-20?16:46??OnlineExam_taohan\config\mybatis\mapper\ClassInfoMapper.xml
?????文件????????1971??2018-09-20?16:46??OnlineExam_taohan\config\mybatis\mapper\CourseInfoMapper.xml
?????文件????????4009??2018-09-20?16:46??OnlineExam_taohan\config\mybatis\mapper\ExamChooseInfoMapper.xml
?????文件????????2868??2018-09-20?16:46??OnlineExam_taohan\config\mybatis\mapper\ExamHistoryInfoMapper.xml
?????文件????????3597??2018-09-20?16:46??OnlineExam_taohan\config\mybatis\mapper\ExamPaperInfoMapper.xml
?????文件????????4472??2018-09-20?16:46??OnlineExam_taohan\config\mybatis\mapper\ExamPlanInfoMapper.xml
............此處省略569個文件信息

評論

共有 條評論