Comments (11)
如何复现呢
from tw-echarts.
@linonetwo 代码里加 console 试了下,没有一直刷新打印的现象
from tw-echarts.
打开 https://onetwo.ren/wiki/#:Index 然后用 chrome 的性能面板就可以看到了,我感觉是这个日历图的问题,可能是向 GPU 传送数据消耗了大量 CPU?然后切换到 2023 年再抓就没这么多消耗了
from tw-echarts.
我这问题明显是因为我装了 flowtiwi-sidebar ,会同时显示所有侧边栏 tab 。当然我通过切换这个日历的时间能推测就是 2022 年显示的点太多了之类的,导致了卡顿。
from tw-echarts.
话说这个日历图就不卡,如果不好排查要不换一个图吧,都是在 https://github.com/oflg/fishing-analysis/blob/7e3a846fafda8123e1f01bffc79e63b7ec928bdd/calender/calendar.js#L121 这里定义的吗?
from tw-echarts.
这里定义的吗?
是的,我看看容不容易换个
from tw-echarts.
还是比较卡,我看是 echarts 一直在更新导致的,应该是这个图的样式比较消耗性能,还是换个图吧
我用开发者工具看半天也没看出来是为啥导致的更新,可能是 echarts 本身的 bug
from tw-echarts.
其他图没办法三个状态(已复习,已到期,未到期)叠加
from tw-echarts.
排查了一下,应该是这个图里这个点一直在动,导致一直没走到中止更新的逻辑
https://user-images.githubusercontent.com/3746270/166631199-2c8bb57d-1723-4db8-8ea2-2ac9d5d71a08.mov
能不能去掉这个会动的动效?
from tw-echarts.
点一直在动
有道理,应该就是这个原因,就去掉
from tw-echarts.
我本地试了一下,都改成 scatter ,并去掉 effect 等字段就好了
from tw-echarts.
Related Issues (16)
- TheBrain Shows Missing Parent HOT 5
- Restore Button Does Not Refresh the Chart But Disappears It HOT 2
- Some of the example echarts not working HOT 3
- Dependency Dashboard
- Cannot find module named HOT 2
- Errors about Cannot read properties of undefined HOT 5
- Can not show any charts HOT 2
- ncaught TypeError: Cannot read properties of undefined (reading 'showLoading') HOT 1
- something wrong with the CalendarHeatmap addons HOT 2
- 热力图不工作 HOT 10
- 放置在侧边栏的TheBrain突然消失 HOT 4
- Version 0.1.2 doesn't respect the $height parameter HOT 2
- Still depends on $:/plugins/felixhayashi/hotzone HOT 3
- 热力图预览显示不全 HOT 1
- Too much call to filterTiddlers cause lagging HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tw-echarts.