You could create itemrenderers for a
datagrid that utilize the drawing API to draw the horizontal lines for your
data. For instance, have a grid like this: Column 1: task name Column 2: duration Column 3: start date Column 4: item renderer that draws out
task length with respect to width of column. Use the drawing api to draw
lines/rectangles to represent a duration of time. You could also have a custom datagrid column
header that uses the drawing API to draw a scale for the time shown in column 4.
Using a datagrid component for this also
keeps it very easy to get data into your Gantt chart. _____________________________________ Andrew Trice Cynergy Systems, Inc. Blog: http://www.cynergysystems.com/blogs/page/andrewtrice Email: [EMAIL PROTECTED] Office: 866-CYNERGY From: There is a flash
component out there (http://www.anychart I have written a
Gantt in DHTML and _javascript_ and it’s not entirely trivial. It also
depends on the kind of features you want to offer, for example dependency
lines, summary tasks, task progress, time line scale, just to name a few. At the time, I
wrote a container and then added task objects on the fly. The container would
know how to render the task objects, and the task objects themselves carried
their information such as start and end date, dependencies, progress status,
etc. If your chart is supposed to be interactive, you should also offer some
events to be raised: e.g. Task was clicked, dependency was dragged, chart was
scrolled down (so that you can connect the chart to a grid and scroll them in
parallel). As you can see, it quickly gets complex. There is another
company that offers interactive Gantts, ILOG (http://www.ilog. Hope this helps
-Iko From: Hello! -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___ |
- RE: [flexcoders] gant chart Andrew Trice
- Re: [flexcoders] gant chart Jonathan Miranda
- RE: [flexcoders] gant chart Andrew Trice