Git Product home page Git Product logo

jsgantt's People

Watchers

James Cloos avatar

jsgantt's Issues

ability to select a line

The Gantt should have a variable named rowSelected or so.  When we click on
a row, the row would be highlighted and the variable would take the row's
id value.  Then, it is possible to call ajax actions based on row id on the
server side (add, insert, edit, delete a row) in an action bar
(configurable action bar is nice to have also).

Original issue reported on code.google.com by [email protected] on 18 May 2009 at 10:17

parents with their own task bar

What is the expected output?
Parents may have their own task bars with start and end date.

Are there any specific API changes you would like to see?


Please provide any additional information below.
I need a chart in which parents can also have their task bars with given
start and end date. presently only children have task bars.

Original issue reported on code.google.com by [email protected] on 31 Dec 2008 at 7:14

Task group dissappears

What steps will reproduce the problem?
1. Open jsgantt's demo page.
2. Click on the "Define Chart API" bullet (to collapse the group)
3. Click on the "Code Javascript" bullet (to collapse the group)
4. Click on the "Week" Format radio button.
5. The "Javascript" bullet dissappears.

What is the expected output? What do you see instead?

That the chart is redrawn with all its task groups.

What version of the product are you using? On what operating system?

Firefox 3 on Fedora 10.

Original issue reported on code.google.com by [email protected] on 13 Feb 2009 at 8:54

Add setters to TaskItem

Hello,

Is there a reason for not having the following setters for TaskItem?
-name
-res
-group
-parent
This would be useful to update existing TaskItems.

Jean-Claude

Original issue reported on code.google.com by [email protected] on 20 Oct 2008 at 6:26

quarterly view of chart

quarterly view of chart, each quarter containing 4 months. 

Sometimes total tasks are covering a long duration like more than a year
and chart becomes so large horizontally. So there should be a quarterly
view (each quarter of 4 months) just like month and week view. 

Original issue reported on code.google.com by [email protected] on 10 Nov 2008 at 8:18

Set popup size

Are there any specific API changes you would like to see?
g.setPopupSize (width, height)


Please provide any additional information below.
It's useful, when it's possible to define the popup size.

Original issue reported on code.google.com by [email protected] on 2 Jun 2009 at 8:44

hours view of chart

What is the expected output?
we can see an hour based gantt chart just like day, week, month and quarter

Please provide any additional information below.
Sometimes we have tasks which don't span a time duration of days or weeks
rather start date and end date have difference in minutes or hours. So
there should be a minutes or hours based view of the chart available.

Original issue reported on code.google.com by [email protected] on 2 Jan 2009 at 7:12

Using a specific DOCTYPE causes incorrect rendering in FireFox

What steps will reproduce the problem?

1. Adding a specfic DOCTYPE as like this as the first line of the HTML
causes incorrect rendering in FireFox:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html
xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-us" lang="en-us">

You can do this with the test data delivered as part of the download.
I believe this is because FireFox is forced out of 'quirks' mode into
'standards' mode, but I am no expert.

What is the expected output? What do you see instead?

FireFox renders the chart incorrectly in the following way:
  i) Day columns are not fixed width in the header, so they don't line up
with the gantt chart (which somehow does remain fixed width).
 ii) Dependency lines don't get drawn at all.
iii) Colours are not honoured - everyting is drawn in grey.

See the attached images for an example from the test data with and without
the <!DOCTPYE... directive.

What version of the product are you using? On what operating system?

Using jsgantt 1.0, FireFox 3.0.6 on Windows XP-SP2.

Please provide any additional information below.
dfs

Original issue reported on code.google.com by [email protected] on 11 Feb 2009 at 5:52

Attachments:

Support lead or lag time

Add support for task lead or lag time when specifying a dependency.

Maybe add something like:

JSGantt.addTaskDependency(12,3,1,0,"day") // addTaskDependency
(predecessorid,taskid,lead,lag,unit)

Original issue reported on code.google.com by [email protected] on 1 Oct 2008 at 6:50

Speed is too slow for large projects

Hi.

I try to apply for a large project (> 100 jobs), the speed is very slow 
and can not do anything on the browser during that time. 

Do you have any solutions for this?

Original issue reported on code.google.com by [email protected] on 13 Mar 2009 at 10:00

Error in header row when using date format e.g. yyyy-mm-dd

What is the expected output?
Header row should show 3-2 - 2008-3-2 in the header row for a week (7 
days) between 03/02/2008 - 03/08/2008. Instead the display 
shows "undefined - 2008-3-2".

Are there any specific API changes you would like to see?


Please provide any additional information below.
The issue is caused in line 631 of jsgannt.js version 1.2 where the 
substring(0,5) is take for cutting the first date of the range to 
day/month. It is necessary to cut either from beginning of the date string 
or from the end, depending whether the year is at the beginning or at the 
end of the string.

My solution that works for me: I copied the function JSGantt.formatDateStr 
and created a version named JSGantt.formatDayMonthDateStr returning only 
the Day Month combination of the date string omitting the year.
In line 631 I replaced the function call and removed the substring 
function part.

Code:
new Line 631:
JSGantt.formatDayMonthDateStr(vTmpDate,vDateDisplayFormat) + ' - ';

new function:
JSGantt.formatDayMonthDateStr = function(pDate,pFormatStr) {
       vYear4Str = pDate.getFullYear() + '';
       vYear2Str = vYear4Str.substring(2,4);
       vMonthStr = (pDate.getMonth()+1) + '';
       vDayStr   = pDate.getDate() + '';

      var vDateStr = "";    

      switch(pFormatStr) {
            case 'mm/dd/yyyy':
               return( vMonthStr + '/' + vDayStr );
            case 'dd/mm/yyyy':
               return( vDayStr + '/' + vMonthStr );
            case 'dd.mm.yyyy':
               return( vDayStr + '.' + vMonthStr );
            case 'yyyy-mm-dd':
               return( vMonthStr + '-' + vDayStr );
            case 'mm/dd/yy':
               return( vMonthStr + '/' + vDayStr );
            case 'dd/mm/yy':
               return( vDayStr + '/' + vMonthStr );
            case 'yy-mm-dd':
               return( vMonthStr + '-' + vDayStr );
            case 'mm/dd':
               return( vMonthStr + '/' + vDayStr );
            case 'dd/mm':
               return( vDayStr + '/' + vMonthStr );
      }      

}



Best regards,
Karsten

Original issue reported on code.google.com by [email protected] on 25 Jun 2009 at 11:57

Report tasks down to the minute

This is a fantastic control.  I'd love to be able to report the results of
our ETL (data migration) process using this, but need to display values
down to the individual limit level.  I guess the raw functionality is
there, and would provide a massive piece of functionality for us.  Any
thoughts?

Thanks,
John
[email protected]

Original issue reported on code.google.com by [email protected] on 17 Apr 2009 at 12:29

Use JavaScript framework such as MooTools or JQuery?

Would you consider switching to a JavaScript framework such as MooTools or
JQuery? This would make extending JSGantt easier and open the door to more
dynamic manipulation. It may also save a good bit of developing time and
cross-browser headaches.

Any feedback on this idea would be appreciated.

Original issue reported on code.google.com by [email protected] on 8 Nov 2008 at 9:51

pOpen doesn't behave properly

What steps will reproduce the problem?
set pOpen to 0 in index.htm

What is the expected output? What do you see instead?
A chart with closed parent nodes should be shown but if we pass 0 to pOpen,
only first parent node is shown closed and all other parent nodes disappear.

What version of the product are you using? On what operating system?
I am using release 17 of jsgantt on Ubuntu

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 12 Jan 2009 at 10:02

<script></script> block only AFTER defining the div ?

Hello.
  Nice job on the jsgantt i think it's a very useful tool.
  before asking my question please note that i am a newbie in javascript
and web design so the question might be a little stupid.
  i have tried the example from the latest version of jsgantt distribution
and realized that i could draw the chart if and only if the <script> block
in the example is placed AFTER defining the div in which the chart will be
placed. That sort of messes up my application cause i was intending to load
the gantt chart only after certain clicks from the user (with AJAX); i have
a huge part of javascript in the <head> section of my page and i would like
to call the gantt chart initialization code only AFTER i have communicated
with the server (via AJAX), but it does not seem to go that way (at least
those were the results i got)... if the gantt initialization <script> block
is not called when the page loads, it will not be called at all afterwards;
i hope i was a little clear on my issue here. My English is not that good
so you might have a little trouble understanding what i mean. 
Thank you for your time. Regards,
Dragos

Original issue reported on code.google.com by [email protected] on 6 May 2009 at 12:20

string for pId

When I use a string field for lme pID TaskItem the mouseover function is 
no longer working (more yellow bar when the mouse passes). 
I did not find how to fix this problem ... 

Example:

g.AddTaskItem(new JSGantt.TaskItem('121p', 'Constructor 
Proc',     '2/21/2008', '3/9/2008',  '00ffff', 'http://www.yahoo.com', 
0, 'Brian T.', 60, 0, 12, 1));

Original issue reported on code.google.com by [email protected] on 17 Feb 2009 at 4:16

A bug in jsgantt.js

JSGantt Version:1.2
Browser:ie6
OS:winxp

What steps will reproduce the problem?
1.In test.html, write that [var g = new JSGantt.GanttChart
('g',document.getElementById('GanttChartDIV'), 'day');
...
g.setDateDisplayFormat('yyyy-mm-dd')
2.Save
3.Open test.html
4.When the 'Format' is selected 'day', the Gantt's right title shows 
[undefined - 2008-2-23]

What is the expected output? 2008-2-17 - 2008-2-23

What do you see instead? undefined - 2008-2-23



Please provide any additional information below.

Reason:
I saw the soure in jsgantt.js, where about line 623 is this :

JSGantt.formatDateStr(vTmpDate,vDateDisplayFormat.substring(0,5)) + ' - ';

when the display format is setted 'yyyy-mm-dd',

the sentence 'vDateDisplayFormat.substring(0,5)' result is 'yyyy-',

so it displays 'undefined' on the page.

sorry, my English is poor, you can email me [email protected] to connect me.

Original issue reported on code.google.com by [email protected] on 1 Jul 2009 at 6:04

Attachments:

Too long task name will take over the display area for other columns.

What is the expected output?
1> Too long task name should be automatically trimmed, like:
"Go to supermarket and buy 1kg tomatoes and 2kg apples and go home."
=> "Go to supermarket and buy ..."

Are there any specific API changes you would like to see?
1> Trim the displayed task name only, full name should be used for tooltip 
display.

Please provide any additional information below.
See pic.


Original issue reported on code.google.com by [email protected] on 21 May 2009 at 4:49

Attachments:

pOpen doesn't work

What is the expected output?


if we pass pOpen as '0' then the tree node should appear collapsed the
first time chart loads.


If we pass 0 to pOpen, we can see + symbol with the node but actually the
tree node is expanded initially. we can see its children nodes. So the
pOpen is only setting the - symbol to + but not actually collapsing the
tree node

Original issue reported on code.google.com by [email protected] on 22 Dec 2008 at 1:02

paging

how can we use paging feature in gantt chart

Original issue reported on code.google.com by [email protected] on 11 Jun 2009 at 7:33

Erroneous calculation for parent task duration

JSGantt Version:1.1
Browser:Firefox, IE
OS:Windows Vista, XP ptofessionnal

What steps will reproduce the problem?
1.Unzip enclosed file
2.Add jsgantt in the same directory
3.Run file TDL2JSGANTT.htm

What is the expected output? What do you see instead?
The file "Test file for jsgantt.xml" is a file build from ToDoList via
TDL2JSGantt.xsl. In the xml file, there are three 1 day successive and
dependant tasks. They are grouped under a parent task which, therefore, 
would last 3 days. jsgantt displays 4 days in the duration field. However,
gantt bars are OK (ie: 1+1+1 days for children tasks and 3 days for parent
task).


Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 19 May 2009 at 8:57

Attachments:

parents show strange symbol when start/end dates of all children are same

What steps will reproduce the problem?
1. set all parents' milestone to "0"
2. set same start dates and end dates of all children e.g set 1/1/2009 as
start date and end date of all children. 
3. open the chart.

What is the expected output? What do you see instead?
parents should only show a | in any view mode (day, week, month, quarter)
as starting and ending dates of all children are same and parents are not
milestones so they have to show the over all start/end time of their
children. But when the start and end dates of all children are same, a
strange worm like symbol is shown against parents in month/quarter views.

What version of the product are you using? On what operating system?
jsgantt r17 and firefox 3 on Ubuntu.



Original issue reported on code.google.com by [email protected] on 23 Jan 2009 at 10:52

Excel Generation from GantChart

My problem i tried to export the page to an excel sheet. I get everything 
except the jsgantt chart. Is there anyway to resolve. More over i would 
like to export only jsgantt to excel..

Original issue reported on code.google.com by [email protected] on 15 May 2009 at 4:03

The chart should size to fit in the browser window with appropriate scroll bars

What is the expected output?

When there are more rows than can be displayed in the browser window, the 
chart should scale so that the horizontal scroll bar (bottom row of the 
chart) is always onscreen.

Are there any specific API changes you would like to see?


Please provide any additional information below.

See this page for an example of the desired behavior:
http://www.cubido.at/Portals/7/docs/Blog/Karin/HTML%20and%
20Javascript/ResizeColumns/Table.htm

This blog describes how the above was implemented:
http://www.cubido.at/Default.aspx?tabid=176&EntryID=8

Original issue reported on code.google.com by [email protected] on 5 Feb 2009 at 7:11

Question about Multiple Dependencies

Hello everybody,
I have a question about multiple dependencies in my program. How to
construct my XML document to realize this goal. Now it can only have one
depend task. Thank you very much!!!
<task>
    <pID>30</pID>
    <pName>add Auditing</pName>
    <pStart>9/19/2008</pStart>
    <pEnd>9/21/2008</pEnd>
    <pColor>0000ff</pColor>
    <pLink></pLink>
    <pMile>0</pMile>
    <pRes>Mal</pRes>
    <pComp>50</pComp>
    <pGroup>0</pGroup>
    <pParent>10</pParent>
    <pOpen>0</pOpen>
    <pDepend>10</pDepend>   
</task>

Original issue reported on code.google.com by [email protected] on 8 May 2009 at 1:26

Specific dates cause the gantt chart to loose alignment with the left table on Firefox3

When you set up tasks with some specific dates, like these

g.AddTaskItem(new JSGantt.TaskItem(1, 'Task1', '1/1/2009', '1/5/2009',
'0000dd', '', 0, '', 50.0, 0, 0, 1));
g.AddTaskItem(new JSGantt.TaskItem(2, 'Task2', '1/6/2009', '1/10/2009',
'0000dd', '', 0, '', 0, 0, 0, 1, '1'));

The week header text is wrapped, and that causes the right table to loose
alignment with the left one (See the attached screenshot).

FYI, I'm using Firefox 3 on Linux.

Original issue reported on code.google.com by [email protected] on 13 Feb 2009 at 7:55

Attachments:

More flexible event handlers

Use prototypes event handlers or otherwise to allow javascript function
call for "onclick" event rather than a http link.  Allow for ajax request
etc...

Original issue reported on code.google.com by [email protected] on 22 Jan 2009 at 6:50

Adding Gating to Chart

One of my customers wanted a Gantt chart to track their project specific
tasks on a weekly basis. They conduct meetings called "gates" once in a
month or so. The gates verify each task against the expected target date of
completion and the status on the date the gate meeting is scheduled. 

Each task will have a set of entry/exit criteria, which must be satisfied
to cross the gate. It would be nice if the gantt chart can represent gates
as a shaded area/line and can show the entry/exit criteria for each task

Thanks, Biju.
[email protected]

Original issue reported on code.google.com by [email protected] on 17 Jun 2009 at 6:09

in quarter view, left & right tables are not aligned properly

What is the expected output?


Left and Right tables in Quarter View should be aligned horizontally.


Please provide any additional information below.
I have noticed on www.jsgantt.com that in quarter view, left and right
tables are not aligned properly. left and right rows are aligned properly
initially but as the rows increase, alignment is disturbed with every row.

Original issue reported on code.google.com by [email protected] on 16 Dec 2008 at 2:19

<pDepend> xml file

Hello, my name is Nick, I'm from Argentina and I have a doubt with JSGantt.
How do you have to put the list in the tag <pDepend> in the xml file. I
tried to figure out but I couldn't.
Thank for your answer

Original issue reported on code.google.com by [email protected] on 17 Mar 2009 at 7:40

About css

Hi! Thanks for your job. It`s really great tool.
I just want suggest a feature about css themes. It would be cool have a
choice, maybe something like dark or gray palettes! Yes i know - i can edit
css, but more user friendly way is provide presets.
For example: g.setStyle("dark");

Sorry for my english, i`m from Russia

Original issue reported on code.google.com by ilya.lindberg on 16 Jun 2009 at 10:25

can't run in IE8

i found bugs in 1842,1844,1948,1946 row
the char '?'(0x27 0x97 0x27) is error,
pls correct,
'?' (0x27 0x3f 0x27) 

Original issue reported on code.google.com by [email protected] on 1 Apr 2009 at 5:05

Browser crashed with day view

What steps will reproduce the problem?
1. var g = new JSGantt.GanttChart('g',document.getElementById
('GanttChartDIV'), 'day');
2. define about 20 tasks,some of which span more than 5 years
3. Call g.Draw() and g.DrawDependencies()

What is the expected output? What do you see instead?
The browsers look like halted.Month view and quarter view keep fast as 
normal.

What version of the product are you using? On what operating system?
Version:the lastest code checked out by SVN
OS:Windows XP,Windows 2003
Browser: IE7/8,Firefox 3


Original issue reported on code.google.com by [email protected] on 19 Dec 2008 at 3:28

for slow performance by using external xml file

i  notice the speed is very slow when dealing with large task sets. for me 
only when 50 to 60 tasks retrieve from external xml file.is there any way to 
improve the rendering performance? replay me soon.

Original issue reported on code.google.com by [email protected] on 10 Jun 2009 at 7:14

year view of gantt chart

What is the expected output?
The chart can be displayed with year view.

Are there any specific API changes you would like to see?

var g = new JSGantt.GanttChart('g',document.getElementById
('GanttChartDIV'), 'year');


Original issue reported on code.google.com by [email protected] on 11 Dec 2008 at 2:44

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.