Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is used as elements of a Gantt chart? #151

Closed
it19862 opened this issue Jul 28, 2019 · 1 comment
Closed

What is used as elements of a Gantt chart? #151

it19862 opened this issue Jul 28, 2019 · 1 comment

Comments

@it19862
Copy link

it19862 commented Jul 28, 2019

  1. If I understood correctly, then the “table” is used as the element “Element_1” (see the picture).
    Question.
    1.1 What is used as an element of "Element_1" (see picture)?
    1.2 Where in the code is the initialization of the element "Element_1"?
    1.3 Where in the code can I change the format of the Element_1 element?

  2. I could not understand what is used as an element of "Element_2" (see the picture).
    Question.
    2.1 What is used as an element of "Element_2" (see the picture)?
    2.2 Where in the code is the element "Element_2" initialized?
    2.3 Where in the code can I change the format of the Element_2 element?

  3. I could not find in the project which element is used to display the tasks on the Gantt chart.
    Question.
    3.1 What is used as an element for displaying tasks on a Gantt chart?
    3.2 Where in the code does the element initialize to display tasks?
    3.3 Where in the code can I change the format of the element to display tasks?

2019-07-28_14-22-20

@robicch
Copy link
Owner

robicch commented Jul 29, 2019

The concept of the component is:
GanttMaster is the main controller. It contains "editor" and "gantt".
"editor" is an instance of GanttGridEditor (manages the grid, left side part). editor.element is the jQuery proxy of Element_1. The grid composition is managed by templates, in particular "TASKROW".

"gantt" is an instance of Ganttalendar. gantt.element is the is the jquery element containing gantt. The gantt graph is a svg object referred by gantt.svg.

Both are inited in the GantMaster.init.

The Task object contains the reference to rowElement (table) and ganttElement (gantt).
Task grid part is managed by template "TASKROW" the gantt part is managed by code Ganttalendar.prototype.drawTask.

Hoping this helps.
Best regards,
Roberto

@robicch robicch closed this as completed Jul 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants