日期范围背景元素在日期时间轴上着色
我将如何使用背景元素在弹性图表中对日期范围进行着色?例如,如果我有开始日期和结束日期,如何传递这些日期对象以便该范围可以在图表上着色?我见过 localToData() 方法,但这似乎需要知道您的鼠标位置。我希望在运行时传递我的日期对象,并让图表获取这些日期并找出图表上的范围点。 datatolocal 是正确的方法吗?如果是这样怎么办?请帮忙!
谢谢, 语气
How would I go about shading a date range in my flex chart using backgroundelements? For example, if I have a start date and an end date, how do I pass these date objects so that range can be shaded on my chart? I've seen the localToData() method but that seems to need to know your mouse postion. I would like on runtime to pass my date objects and have the chart take those dates and figure out the points on the chart for the range. Is datatolocal the way to go? And if so how? Please help!
Thanks,
tone
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论