在 Flex/AS3 中创建从日期到日期的时间线 [英] Create a timeline from date to date in Flex/AS3
问题描述
我需要在 2 个给定日期之间创建一个时间表,即:2006-01-20 - 2009-02-14
时间线必须绘制在给定的宽度上(可以更改),即:600 像素
但我需要添加标记,从一年开始添加标记,其他标记在一年中添加 4 次(大约每 73 天):
有什么建议吗?
我认为 Flex Charting 包中的轴默认允许您进行此类格式化.
如果您需要做更多事情,Flex Charts 还允许您绘制它们.这可能就是您要找的.p>
链接:http://livedocs.adobe.com/flex/3/html/help.html?content=charts_formatting_02.html
当然,如果您愿意,您可以始终从头开始,但是您花费的时间可能无法抵消专业版的价格(获取图表组件,除非您已经拥有).
I need to create a timeline between 2 given dates, ie: 2006-01-20 - 2009-02-14
The timeline must be drawn on a given width (can be altered), ie: 600px
But I need to add markers, one on year beginning, and others 4 times during the year (each 73 days aprox):
Any tips?
I think the axes in the Flex Charting package allow you to do such formatting by default.
If you need to do more, Flex Charts also allow you to draw of them. That might be what you're looking for.
Link: http://livedocs.adobe.com/flex/3/html/help.html?content=charts_formatting_02.html
You could of course, always do it from scratch yourself if you wanted, but the amount of time you spend on that might not offset the price of the professional edition (To get the charting component, unless you have that already).
这篇关于在 Flex/AS3 中创建从日期到日期的时间线的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!