在TimeSeriesChart中显示天数 [英] Display days in TimeSeriesChart

查看:200
本文介绍了在TimeSeriesChart中显示天数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在时间轴上显示日期的名称(星期日,星期一...."),而不是仅显示日期?

How can I display the names of the days ("Sunday, Monday....") on the time axis, instead of just the date ?

推荐答案

您可以使用此处.

附录:

没有办法只更改顶层吗?

isn't there a way to change only the top level?

ChartPanel 具有方法与缩放状态有关.如本示例<中所示,您应该可以通过覆盖chartChanged()方法或响应用户输入来设置所需的日期格式./a>.

ChartPanel has methods related to the zoom state. You should be able to set the date format as desired either by overriding the chartChanged() method or in response to user input, as suggested in this example.

这篇关于在TimeSeriesChart中显示天数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆