![](https://img-blog.csdnimg.cn/20190918140037908.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
数据可视化
webgl、canvas、svg、echarts、openlayers、threejs
可达鸭头上站青蛙
至妙之要,先存后忘。
展开
-
echarts的legend的小图标与文本垂直对齐
echarts的图例文字与图标垂直对齐原创 2022-09-14 11:01:55 · 2810 阅读 · 0 评论 -
echarts图表y轴数据设置等间距分割
echarts图表y轴设置等间距分割原创 2022-07-13 17:09:27 · 16852 阅读 · 0 评论 -
echarts双x轴时,鼠标放到图表上时,坐标轴指示器(axisPointer)触发显示两条竖标识线
echarts中的坐标轴指示器原创 2022-07-12 15:16:45 · 4157 阅读 · 0 评论 -
canvas手写一个简单时钟案例
看懂当前时钟案例需要有一定canvas基础!绘制时钟<body> <canvas id="canvas" width="500" height="500"></canvas></body>1、绘制表盘const c = document.querySelector('#canvas');const ctx = c.getContext("2d");// 表盘半径const r = 200;// 平移轴心点ctx.translat.原创 2022-04-17 21:12:49 · 776 阅读 · 1 评论 -
Failed to execute ‘addColorStop‘ on ‘CanvasGradient‘: The value provided (‘undefined‘) could not be
在echarts使用属性visualMap对折线图进行区间的变色设置,结果写完直接报错:Uncaught DOMException: Failed to execute 'addColorStop' on 'CanvasGradient': The value provided ('undefined') could not be parsed as a color.这个报错很有迷惑性,让我以为是哪的color设置不正确,结果搞了一下午,查出来是数据格式不正确的问题导致的。pieces中区间的的数据原创 2022-01-17 17:11:52 · 14922 阅读 · 3 评论 -
THREE.AxisHelper has been renamed to THREE.AxesHelper.
THREE.AxisHelper已经被重命名为THREE.AxesHelper.原创 2019-11-01 17:20:09 · 1672 阅读 · 0 评论 -
Uncaught TypeError: renderer.setClearColorHex is not a function
你需要先确定你的three.js的版本有没有引入错误,three.js第二版中使用的是setClearColorHex,新版本中使用setClearColor。原创 2019-11-01 17:13:08 · 1090 阅读 · 0 评论