Home/ksfx.aspx

(开头部分) 4KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ksfx.aspx.cs" Inherits="Home_ksfx" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>个人成绩统计图</title>
 <script src="../js/jquery-1.4.2.js" type="text/javascript"></script>
    <script src="../js/jquery-1.4.2.min.js" type="text/javascript"></script>
    <script src="../js/highcharts.js" type="text/javascript"></script>
    <script src="../js/modules/exporting.js" type="text/javascript"></script>
    <script type="text/javascript">
        var chart;
        $(document).ready(function() {
            chart = new Highcharts.Chart({
                chart: {
                    renderTo: 'container',                 
                    defaultSeriesType: 'line'
                },
                title: {
                    text: '成绩分析表'
                },
                subtitle: {
                    text: '<%=Uname%>'//图标的副标题
                },
                xAxis: {
                    min:1,
                    tickWidth:1,
                    gridLineWidth:1,
                    categories: <%= xAxisCategories %>,//从后台获取数据
                    tickPixelInterval:0.2,
                    title: {
                        text: '考试时间'
                    }
                },
                yAxis: {
                    tickInterval:20,
                    max:100,
                    min: 0,
                    title: {
                        text: '成绩',
                        align: 'high'
                    }
                },
                tooltip: {
                    formatter: function() {
                        return ''+
                             this.series.name +': '+ this.y +' 分';
                    }
                },
                plotOptions: {
                   line:{
                       dataLabels:{
                           enabled:true
                       },
                   },
                   column: {
                            pointPadding: 0.3,
                            borderWidth: 0 
                        },
                    bar: {
后面还有 44 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。