BasicBarChart.aspx

(开头部分) 4KB

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

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="BasicBarChart.aspx.cs" Inherits="WebChart.BasicBarChart" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <script src="jsnew/echarts.js"></script>
    <link href="css/Comm.css" rel="stylesheet" />
</head>
<body>
    <form id="form1" runat="server">
        <table width="100%" border="1" height="760px">
            <tr>
                <td align="center" width="10%">
                    <a href="index.aspx" style="font-family: Arial; font-size: 18px; color: #00FFFF;">返回主页</a>
                </td>
                <td width="80%">
                    <div align="center" style="font-size: 48px; color: white;">条形图</div>
                </td>
                <td align="center" style="font-size: 18px; font-weight: bold;" width="10%">
                    <asp:Literal ID="Ltldate" runat="server"></asp:Literal><br />
                    <asp:Literal ID="Ltltime" runat="server"></asp:Literal><br />
                </td>
            </tr>
            <tr>
                <td colspan="3" width="1050px" style="background-color: white; height: 700px;" align="center" valign="top">
                    <div id="main" style="height: 650px; width: 1050px;">
                        <script type="text/javascript">
                            var myChartStock = echarts.init(document.getElementById('main'));
                            setTimeout(function () {
                                optionStock = {
                                    tooltip: {
                                        trigger: 'axis',
                                        axisPointer: {

                                            type: 'shadow'
                                        }
                                    },
                                    legend: {
                                        textStyle: {
                                            color: '#000', // 图例文本颜色  
                                            fontSize: 16 // 图例文本字体大小  
                                        },
                                    },
                                    grid: {
                                        left: '3%',
                                        right: '4%',
                                        bottom: '3%',
                                        containLabel: true
                                    },
                                    xAxis: {
                                        type: 'value',
                                        axisLabel: {
                                            color: '#000', // 设置Y轴标签字体颜色为白色
                                            fontSize: 12 // 图例文本字体大小 
                                        }
                                    },
                                    yAxis: {
后面还有 33 行代码,购买后查看完整代码

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

AI 解读

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

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