fix: 资源图上前后都是空档的单个点画成圆点 - #23
Merged
Merged
Conversation
节点离线后刚恢复、只有一个桶的数据时,这个点原来在四个资源图上都看不见,现在画成与线同色的小圆点
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
资源图在离线时段断开(#21)之后,前后都是空档的单个点没有相邻的点可连线,而资源图不画数据点,这个点在四张图上都看不见,却仍参与纵轴的计算:纵轴被撑到 60%、标题写着峰值 2.9 MB/s,图上找不到对应的点。
现在只给这种孤立的点画一个与线同色的小圆点,其余的点照旧不画。
会遇到的情形:
测试
npm run lint、npm test(UTC 与纽约时区)、npm run build通过与 monitor-probe/monitor-theme-serverstatus#21 是同一处改动