LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
WDRE

Gantt chart in labview or ... Java container?

Status: Declined

Any idea that has received less than 2 kudos within 2 years after posting will be automatically declined. 

I need a Gantt chart to show the order of a number of events from a log file. The X-axis was to be time, and a number of categories were listed along the Y-axis, similar to digital plot.

I wanted to represent each operation by a horizontal bar starting at the start time and ending at an end time. Multiple events could happen for each category over time. Ideally when hovering over an event, details should become visible. The end result would look similar to what you may know from MS-project, but is not quite the same.

Eventually I ended up drawing the whole thing in the picture control. While passable, it's not as clean as I want it to be and it's a work around. It is not easy to incorporate zoom, highlight elements etc.

Later on, I was completely blown away by an implementation of a similar Gantt chart in JFreeChart. It was zoomable and customizable every which way. If you don't know JFreeChart - check it on the web. It offers a highly customable graph api to the Java community for free (some 40,000 developers are incorporating it in their Java programs). The problem is... it's in Java and Labview can't touch it.

So what I would want is either a Gantt chart in Labview, or (maybe better), a Java container with the whole support of references, methods and properties (if possible), just like active-X and .net support.

The example graph is a very simple one. Now imagine 100 line items, each with hundreds or more occurrences, zoomable, expandable, color coded, labeled, etc.

3 Comments
G-Money
NI Employee (retired)

You might consider splitting the two ideas you have listed (Java container and Gantt chart in LV) into two ideas. I know a lot of people that would vote for the Java container or support but you are the first I have heard of as needing a Gantt chart. I'm sure there are more like you out there that would support the Gantt chart idea but having two distinct ideas would help people talk about those ideas and hopefully get R&D to work on them.

Antinome
Member

You could get a gantt chart of sorts using R and R (D) Com.

 

http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=74

 

I haven't tried it but there are third party gantt charts you should be able to put in an activex container.

 

for example: http://www.exontrol.com/exgantt.jsp

 

Darren
Proven Zealot
Status changed to: Declined

Any idea that has received less than 2 kudos within 2 years after posting will be automatically declined.