AChartEngine 标签混乱
我的图表显示良好,但一旦我滚动到一侧,就会出现随机时间,并且它会弄乱日期,请参见这张图片: http://img14.imageshack.us/img14/8329/statqs.jpg
我只想显示日期而不显示其他内容,我不知道渲染器如何得出我从未输入的时间。
另外我想知道如何防止向左(x 轴)和向下(负 y)滚动,我不能再使用 SetPanLimits 因为我的 x 值是日期而不是数字。
任何帮助将不胜感激!
My chart displays fine but as soon as I scroll to the side, I have random time appearing and it messes up the dates, see this picture:
http://img14.imageshack.us/img14/8329/statqs.jpg
I'd like to only display the date and nothing else, I don't know how the renderer comes up with time that I never entered.
Also I'd like to know how I can prevent scrolling to the left (x axis) and down (negative y), I can no longer use SetPanLimits because my x values are dates and not numbers.
Any help would be greatly appreciated!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我知道这已经很老了,但对于下一个用户来说,找到解决方案可能会有所帮助。
您可以指定要使用的日期格式
要仅显示日期和月份,请使用如下所示的格式:
I know this is very old, but for the next user, it may help to have the solution.
You can specify the date format to use
To show only day and month, use something like the following: