标记线可在图标随意位置绘制一条刻度,方便对数据进行参照对比。 默认情况下,横轴为 category 纵轴为连续的数值。所以标记线即为纵轴上对应某个值的横线。 如下来自 Echarts 官网文档中的示例展示了简单的标记线用法: option = { xAxis: { type: "category", ...
分类:
其他好文 时间:
2021-04-27 14:58:20
阅读次数:
0
1.1 了解NodeJS 简单的说 Node.js 就是运行在服务端的 JavaScript。Node.js 是一个基于Chrome JavaScript 运行时建立的一个平台。 Node.js是一个事件驱动I/O服务端JavaScript环境,基于Google的V8引擎,V8引擎执行Javascr ...
分类:
Web程序 时间:
2021-04-26 13:48:33
阅读次数:
0
1.若height是确定的(比如height:100px),则height直接可确定(还受min-height,max-height影响,见height,min-height,max-heigth的作用机制问答)。 2.若width是不确定的(比如width: min-content 或 width ...
分类:
Web程序 时间:
2021-04-26 13:42:04
阅读次数:
0
一些基本概念 标签 标题:<h1>-<h6>(从大到小) 段落:<p> 链接:<a> baidu <a href="http://www.baidu.com">baidu</a> 图像:<img> <img src="XXX" width="300" height="300" /> 换行:<br / ...
分类:
Web程序 时间:
2021-04-26 13:24:01
阅读次数:
0
Description: Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it can trap after ra ...
分类:
移动开发 时间:
2021-04-26 13:21:39
阅读次数:
0
鼠标移动到div块时,用CSS实现旋转 实现代码: <body> <div> </div> </body> <style> div { width:200px; height:200px; background-color:pink; margin:100px auto; transition:al ...
分类:
Web程序 时间:
2021-04-26 13:06:28
阅读次数:
0
CSS link: link是html标签 加载页面的过程是异步的,不会阻塞浏览器的解析过程 举例 html文件: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> <link ...
分类:
Web程序 时间:
2021-04-26 13:00:00
阅读次数:
0
Sass @import 顾名思义,表示的是加载其他文件的内容到本文件中 sass中使用该方式加载的时候是直接将两个文件的内容合二为一使用 a.scss文件 div { width: 200px; height: 200px; background-color: red; p { color: wh ...
分类:
其他好文 时间:
2021-04-24 13:21:16
阅读次数:
0
<style> .jsj-class { width: 300px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } </style> 1 <div class="jsj-class"></div> 效果图: ...
分类:
Web程序 时间:
2021-04-24 13:14:57
阅读次数:
0
给定一个二叉树, 找到该树中两个指定节点的最近公共祖先。 百度百科中最近公共祖先的定义为:“对于有根树 T 的两个节点 p、q,最近公共祖先表示为一个节点 x,满足 x 是 p、q 的祖先且 x 的深度尽可能大(一个节点也可以是它自己的祖先)。” 示例 1: 输入:root = [3,5,1,6,2 ...
分类:
其他好文 时间:
2021-04-24 11:46:55
阅读次数:
0