Modify

Opened 4 years ago

Closed 4 years ago

#7967 closed defect (fixed)

renders one long image...

Reported by: lara@… Owned by: anbo
Priority: normal Component: ProjectPlanPlugin
Severity: normal Keywords: example
Cc: Trac Release: 0.12

Description

how do you get ProjectPlan to look like the thumbnail example_render2s.png?

Attachments (0)

Change History (1)

comment:1 Changed 4 years ago by anbo

  • Keywords example added
  • Resolution set to fixed
  • Status changed from new to closed

To recreate the ProjectPlan image you might follow the following steps

  1. create project structure and tickets (skip this if you are familiar with Trac)
    • create version named "Version 1.0"
    • create version named "Version 2.0"
    • create milestone named "Project Preparation"
    • create milestone named "Development"
    • create milestone named "Bugs known already"
    • create milestone named "Extension and Maintenance"
    • create the tickets
      • ticket #1 applied to "Version 1.0" and milestone "Project Preparation"
      • ticket #2 applied to "Version 1.0" and milestone "Project Preparation"
      • ticket #3 applied to "Version 1.0" and milestone "Development"
      • ticket #5 applied to "Version 1.0" and milestone "Development"
      • ticket #7 applied to "Version 1.0" and milestone "Development"
      • ticket #8 applied to "Version 1.0" and milestone "Development"
      • ticket #9 applied to "Version 1.0" and milestone "Development"
      • ticket #10 applied to "Version 1.0" and milestone "Development"
      • ticket #14 applied to "Version 1.0" and milestone "Bugs known already"
      • ticket #16 applied to "Version 2.0" and milestone "Extension and Maintenance"
      • ticket #17 applied to "Version 2.0" and milestone "Extension and Maintenance"
      • ticket #18 applied to "Version 2.0" and milestone "Extension and Maintenance"
  1. Prepare the Trac instance for special ProjectPlan functionality
  2. set the ticket dependencies
    • this is most important to render a network-like project plan (I assume that was the problem in your case)
    • add "1" to the ticket dependencies field of ticket #2
    • add "2" to the ticket dependencies field of ticket #3
    • add "2" to the ticket dependencies field of ticket #8
    • add "3" to the ticket dependencies field of ticket #5
    • add "3" to the ticket dependencies field of ticket #7
    • add "3, 8" to the ticket dependencies field of ticket #9
    • add "5, 7, 9, 14" to the ticket dependencies field of ticket #10
    • add "10" to the ticket dependencies field of ticket #16
    • add "10" to the ticket dependencies field of ticket #17
  3. finally add the following macro to a wiki page and enjoy
    • [[ProjectPlan(renderer=gvrender)]] will compute the following image
    • if you like, update the color settings using the Trac admin panel

I'm sorry for slipping your ticket for such a long time. Do not hesitate to ask more questions.

Add Comment

Modify Ticket

Action
as closed The owner will remain anbo.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.