Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问我想设置x轴data为自定义连续的数字,然后让我的数据分布在这个区间内,有这个功能吗 #239

Open
Vutumn opened this issue Apr 17, 2018 · 7 comments

Comments

@Vutumn
Copy link

Vutumn commented Apr 17, 2018

比如设置x轴data为0到11,然后让我的数据项,例如0.1,1.2,3.4等等分布在这个区间内。谢谢

@Vutumn Vutumn changed the title 请问我想设置x轴data为自定义连续的数字,然后让我的数据分布在这些中,有这个功能吗 请问我想设置x轴data为自定义连续的数字,然后让我的数据分布在这个区间内,有这个功能吗 Apr 17, 2018
@AAChartModel
Copy link
Owner

给个效果图呗

@Vutumn
Copy link
Author

Vutumn commented Apr 17, 2018

image

@Vutumn
Copy link
Author

Vutumn commented Apr 17, 2018

大致功能就是自定义x轴坐标为0到24点,然后将0到24点中有数据的部分显示出来, 没有就不显示了,不过这个x轴就类似于y轴的自动分布。而不是目前的一一对应。

@AAChartModel
Copy link
Owner

现在最新的 demo中有一个自定义 tooltip 的示例,跟你现在的这个效果图差不多,你可以下载查看一下

@Vutumn
Copy link
Author

Vutumn commented Apr 17, 2018

好的谢谢

@Vutumn
Copy link
Author

Vutumn commented Apr 17, 2018

我看了下,你好像没理解我的意思。是这样的,我的x轴是永远固定的0到24,然后后台给我的数据是不定的时间点和这个时间点的数据。我想让我的时间落在x轴的区间内,比如0.1就在0到1之间,1.2就在1到2之间。

@CxDebugTheWorld
Copy link

@Vutumn 这个问题是咋解决的呀 老哥 求指导

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants