html 雷达图 ,拿来直接用,无需下载js包【以把js包改为远程访问】

在这里插入图片描述

🍖🍖🍖🍖🍖🍖🍖🍖🍖 🍖🍖🍖🍖🍖🍖🍖🍖 🍖🍖🍖🍖🍖🍖🍖🍖 🍖🍖🍖🍖🍖🍖🍖🍖 🍖🍖🍖🍖🍖🍖🍖🍖 🍖🍖🍖🍖🍖🍖🍖🍖 🍖🍖🍖🍖🍖🍖🍖🍖 🍖🍖🍖🍖🍖🍖🍖🍖 🍖🍖🍖🍖🍖🍖🍖🍖 🍖🍖🍖🍖🍖🍖🍖🍖 🍖🍖🍖🍖🍖
🍖🍖
🍖🍖🍖
🍖🍖🍖🍖 作者 : 不良使
🍖🍖🍖🍖🍖 潜力创作新星 华为云享专家
🍖🍖🍖🍖🍖🍖 博客记录学习的思路,项目和错误,寻找志同道合的朋友
🍖🍖🍖🍖🍖🍖🍖 如果觉得有帮助记得一键三连 ┗|`O′|┛ 嗷~~
🍖🍖🍖🍖🍖🍖🍖🍖
🍖🍖🍖🍖🍖🍖🍖🍖 🍖🍖🍖🍖🍖🍖🍖🍖 🍖🍖🍖🍖🍖🍖🍖🍖 🍖🍖🍖🍖🍖🍖🍖🍖 🍖🍖🍖🍖🍖🍖🍖🍖 🍖🍖🍖🍖🍖🍖🍖 🍖🍖🍖🍖🍖🍖🍖🍖 🍖🍖🍖🍖🍖🍖🍖🍖 🍖🍖🍖🍖🍖🍖🍖🍖 🍖🍖🍖🍖🍖🍖🍖🍖 🍖🍖🍖🍖🍖🍖🍖


每次使用图的时候都要把需要的js包下载下来,导致文件很多,而且有时候很难找。把这些图给大家分享的目的是因为我在需要使用的时候网上的图要不就是需要下载,要不就是不全,最好的也是需要自己下载js包,但是对于学习后端的我们来说上手十分不容易。尤其是课程项目紧张,难道我们还需要去学习前端js,显然这是不现实的,所以我把这些图分享给的大家。全是html文档,复制粘贴就能用js包写的是动态地址,不用自己下载========》》拿来就用

ok,下面进入正题,这张图在日常的工作学习中都是需要的,可以收藏保存起来
在这里插入图片描述

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="https://assets.pyecharts.org/assets/echarts.min.js"></script>
    <script src="https://assets.pyecharts.org/assets/main.js"></script>
</head>

<body>
<div id="garps" class="container" style="width: 800px;height: 600px">

    <script>
        var chart_b859ef36a1b245b2b1eb24efe9b62146 = echarts.init(
            document.getElementById('garps'), 'white', {renderer: 'canvas'});
        option = {
        backgroundColor: '#000',
        "normal": {
          "top": 200,
          "left": 300,

          "width": 500,
          "height": 400,
          "zIndex": 6,
          "backgroundColor": ""
        },
        "color": ["rgba(245, 166, 35, 1)", "rgba(19, 173, 255, 1)"],
        "title": {
          "show": true,
          "left": "40%",
          "top": "1%",
          "textStyle": {
            "fontSize": 18,
            "color": "#fff",
            "fontStyle": "normal",
            "fontWeight": "normal"
          }
        },
        "tooltip": {
          "show": true,
          "trigger": "item"
        },
        "radar": {
          "center": ["50%", "50%"],
          "radius": "70%",
          "startAngle": 90,
          "splitNumber": 4,
          "shape": "circle",
          "splitArea": {
            "show":false,
            "areaStyle": {
              "color": ["transparent"]
            }
          },
          "axisLabel": {
            "show": true,
            "fontSize": 12,
            "color": "#0ab3f0"
          },
          "axisLine": {
            "show": true,
            "lineStyle": {
              "type": "dashed",
              "color": "#0ab3f0",
              "width":1.5//
            }
          },
          "splitLine": {
            "show": true,
            "lineStyle": {
              "color": "#0ab3f0",
              "width":2//
            }
          },
          "indicator": [{
            "name": "N[0]",
            "max": 180
          }, {
            "name": "",
            "max": 180
          }, {
            "name": "W[270]",
            "max": 180
          }, {
            "name": "",
            "max": 180
          },{
            "name": "S[180]",
            "max": 180
          }, {
            "name": "",
            "max": 180
          }, {
            "name": "E[90]",
            "max": 180
          }, {
            "name": "",
            "max": 180
          }]
        },
         legend: {
           icon: 'circle',
           bottom:'10',
          textStyle: { fontSize: 14, color: '#fff' },
          itemGap: 20,
          itemWidth: 14,
    data: ['GPS', 'BDS', 'GLONASS', 'Galileo']
  },
        "series": [
          {
          "name": "GPS",
          "type": "radar",
          "symbol": "circle",
          "symbolSize": 20,
          "itemStyle": {
            "normal": {
              "color":'rgba(255, 0, 0, 0.4)',
            }
          },
          "areaStyle": {
            "normal": {
              "color": "rgba(19, 173, 255, 0)"
            }
          },
          "lineStyle": {
            "normal": {
              "color": "rgba(19, 173, 255, 0)",
              "width": 2,
              "type": "dashed"
            }
          },
          "data": [
            [60, 10, 20, 50,60,90,60,60]
          ]
        },
          {
            "name": "BDS",
            "type": "radar",
            "symbol": "circle",
            "symbolSize": 20,
            "itemStyle": {
              "normal": {
                "color":'rgb(0,64,255,0.4)',
              }
            },
            "areaStyle": {
              "normal": {
                "color": "rgba(19, 173, 255, 0)"
              }
            },
            "lineStyle": {
              "normal": {
                "color": "rgba(19, 173, 255, 0)",
                "width": 2,
                "type": "dashed"
              }
            },
            "data": [
              [70, 30, 50, 80,90,40,88]
            ]
          },
          {
            "name": "GLONASS",
            "type": "radar",
            "symbol": "circle",
            "symbolSize": 20,
            "itemStyle": {
              "normal": {
                "color":'rgb(0,247,255,0.4)',
              }
            },
            "areaStyle": {
              "normal": {
                "color": "rgba(19, 173, 255, 0)"
              }
            },
            "lineStyle": {
              "normal": {
                "color": "rgba(19, 173, 255, 0)",
                "width": 2,
                "type": "dashed"
              }
            },
            "data": [
              [80, 20, 40, 60,80,20,44]
            ]
          },
          {
            "name": "Galileo",
            "type": "radar",
            "symbol": "circle",
            "symbolSize": 20,
            "itemStyle": {
              "normal": {
                "color":'rgb(0,255,234,0.4)',
              }
            },
            "areaStyle": {
              "normal": {
                "color": "rgba(19, 173, 255, 0)"
              }
            },
            "lineStyle": {
              "normal": {
                "color": "rgba(19, 173, 255, 0)",
                "width": 2,
                "type": "dashed"
              }
            },
            "data": [
              [60, 15, 25, 35,45,20,44]
            ]
          },
        ]
      };

chart_b859ef36a1b245b2b1eb24efe9b62146.setOption(option);
    </script>
</div>
</body>
</html>

引用于菜鸟教程,侵权请联系删除
常用标签介绍
文本

最常用的标签可能是了,它用于改变字体,字号,文字颜色。

<font size="6">6</font>
<font size="4">4</font>
<font color="red" size="5">红色的5</font>
<font face="黑体">黑体的字</font> 

加粗,下划线,斜体字也是常用的文字效果,它们分别用,,表示:

<b>Bold</b>
<i>italic</i>
<u>underline</u> 

还有一些标签,用来指出包含的文本有特殊的意义

比如<abbr>(表示缩写),<em>(表示强调),<strong>(表示更强地强调),<cite>(表示引用),<address>(表示地址)等等。这些标签不是为了定义显示效果而存在的,所以从浏览器里看它们可能没有任何效果,也可能不同的浏览器对这些标签的显示效果完全不同。

一篇很长的文章,如果有合适的小标题的话,就可以快速地对它的内容进行大致的了解。在HTML里,用来表示标题的标签有:

<h1>,<h2>,<h3>,<h4>,<h5>,<h6>,它们分别表示一级标题,二级标题,三级标题...
<h1>HTML 30分钟教程</h1>
<h2>什么是HTML</h2>
...
<h2>HTML是什么样的</h2>

图片

<hr>标签用于在页面上添加横线。可以通过指定width和color属性来控制横线的长度和颜色。
<hr width="90%" color="red" /> 
<img>标签用于在页面上添加图片,src属性指定图片的地址,如果无法打开src指定的图片,浏览器通常会在页面上需要显示图片的地方显示alt属性定义的文本。
<img src="http://www.w3.org/Icons/valid-xhtml10" alt="图片简介" /> 
链接
超级链接用<a>标签表示,href属性指定了链接到的地址。<a>标签可以包含文本,也可以包含图片。

<a href="http://www.runoob.com/">菜鸟教程</a>
<a href="http://validator.w3.org"><img src="http://www.w3.org/Icons/valid-xhtml10" alt="验证HTML" /></a> 

分段与换行

由于HTML文档会忽略空白符,所以要想保证正常的分段换行的话,必须指出哪些文字是属于同一段落的,这就用到了标签

<p>这是第一段。</p>
<p>这是第二段。</p> 
也有人不用<p>,而用<br><br>只表示换行,不表示段落的开始或结束,所以通常没有结束标签。

这是第一段。<br>
这是第二段。<br />
这是第三段。 有时,要把文档看作不同的部分组合起来的,比如一个典型的页面可能包括三个部分:页头,主体,页脚。<div>标签专门用于标明不同的部分:
<div>页头内容</div>
<div>主体内容</div>
<div>页脚内容</div>

表格

HTML文档在浏览器里通常是从左到右,从上到下地显示的,到了窗口右边就自动换行。为了实现分栏的效果,很多人使用表格(<table>)进行页面排版(虽然HTML里提供表格的本意不是为了排版)。

<table>标签里通常会包含几个<tr>标签,<tr>代表表格里的一行。<tr>标签又会包含<td>标签,每个<td>代表一个单元格。
<table>
  <tr>
    <td>2000</td><td>悉尼</td>
  </tr>
  <tr>
    <td>2004</td><td>雅典</td>
  </tr>
  <tr>
    <td>2008</td><td>北京</td>
  </tr>
</table> 
2000悉尼
2004雅典
2008北京
<tr>标签还可以被<table>里的<thead><tbody><tfoot>包含。它们分别代表表头,表正文,表脚。在打印网页的时候,如果表格很大,一页打印不完,<thead><tfoot>将在每一页出现。
<th><td>非常相似,也用在<tr>里边,不同的是<th>代表这个单元格是它所在的行或列的标题。
<table>
  <thead>
    <tr><th>时间</th><th>地点</th></tr>
  </thead>
  <tbody>
    <tr><td>2000</td><td>悉尼</td></tr>
    <tr><td>2004</td><td>雅典</td></tr>
    <tr><td>2000</td><td>北京</td></tr>
  </tbody>
</table> 
时间地点
2000悉尼
2004雅典
2000北京

列表

**

表格用于表示二维数据(行,列),一维数据则用列表表示。列表可以分为无序列表(<ul>),有序列表(<ol>)和定义列表(<dl>)。前两种列表更常见一些,都用<li>标签包含列表项目。
无序列表表示一系列类似的项目,它们之间没有先后顺序。

**

<ul>
  <li>苹果</li>
  <li>桔子</li>
  <li></li>
</ul> 
  • 苹果
  • 桔子

有序列表中各个项目间的顺序是很重要的,浏览器通常会自动给它们产生编号。

<ol>
  <li>打开冰箱门</li>
  <li>把大象赶进去</li>
  <li>关上冰箱门</li>
</ol> 
  1. 打开冰箱门
  2. 把大象赶进去
  3. 关上冰箱门

框架

**最后谈一下框架,曾经非常流行的技术,框架使一个窗口里能同时显示多个文档。主框架页里面没有标签,取代它的是。

标签的属性Rows和Cols用于指定框架集(frameset)里有多少行(列),以及每行(列)的高度(宽度)。 标签可以包含标签,每个标签代表一个文档(src属性指定文档的地址)。 如果觉得这样的页面还不够复杂的话,还可以在标签里包含标签。**
<frameset rows="15%,*">
     <frame src="top.html" name=title scrolling=no>
     <frameset cols="20%,*">
          <frame src="left.html" name=sidebar>
          <frame src="right.html" name=recipes>
     </frameset>
</frameset> 
  • 16
    点赞
  • 23
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 14
    评论
评论 14
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

不良使

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值