VChart icon indicating copy to clipboard operation
VChart copied to clipboard

[Feature] 希望桑基图(sankey)支持滚动条以及缩略轴

Open ErleYb opened this issue 1 year ago • 3 comments

What problem does this feature solve?

在桑基图中也实现滚动条的功能 1.滚动条:跟现有的滚动条相似的功能,设置显示比例时(0~0.4)能支持显示左侧40%部分的画布,横向或纵向拖动时,能查看剩余部分 样式以及API 参考:https://visactor.com/vchart/demo/scrollbar/basic-scrollbar-bar-chart image 2.缩略轴:跟现有的缩略轴类似的功能,设置start,end支持默认显示缩放比例,拖动或拉伸缩略轴时,能看到剩余部分的画布。 样式以及API 参考:https://visactor.com/vchart/demo/data-zoom/data-zoom-lock?keyword=dataZoom image

What does the proposed API look like?

1.滚动条: 样式以及API 参考:https://visactor.com/vchart/demo/scrollbar/basic-scrollbar-bar-chart 2.缩放轴: 样式以及API 参考:https://visactor.com/vchart/demo/data-zoom/data-zoom-lock?keyword=dataZoom

ErleYb avatar Jun 21 '24 02:06 ErleYb

你好请问这个issue有人做了吗,没有的话可以给我做吗

LofiSu avatar Jul 11 '24 15:07 LofiSu

@LofiSu 这个问题可能相对而言比较复杂,你可以在 dev/1.12.0熟悉一下代码,看看有没有思路

xile611 avatar Jul 12 '24 01:07 xile611

@LofiSu 已经assign 给你了, 可以在issue 下面 或者开发者交流群讨论具体实现方案,

xuanhun avatar Jul 12 '24 02:07 xuanhun

fixed in 1.13.0 https://www.visactor.io/vchart/demo/sankey-chart/sankey-with-scrollbar

xile611 avatar Dec 19 '24 10:12 xile611