MS Project - Как применить стили к панели задач в диаграмме Ганта

10492
Rubio

У меня есть пара типов задач (требования, разработка, тестирование и т. Д.), Которые я хочу представить в разных цветах на диаграмме Ганта. Форматирование каждой панели задач индивидуально (начальный, средний и конечный цвета) безнадежно. То, что я хотел бы сделать, это просто определить, что эта задача является требованием, это задача разработки и т. Д. (Очень похоже на абзац в Word). Не могу понять, как это сделать.

Я использую MS Project 2013.

1

1 ответ на вопрос

1
JulieS

You can use a combination of a drop down list with the text (Requirement, Development, Testing, etc) and flag fields to automatically change bar colors.

To create the list:

  1. Add a spare text field (Text1 for example).
  2. Right click on the column heading for Text1 and select Custom Fields to open the Custom Fields dialog.
  3. Click Lookup under Custom attributes and enter the types (Requirements, Development, Testing) one per row.
  4. Close the Lookup table dialog to return to the Custom Fields dialog and click OK to close the Custom Fields dialog.

Return to the Gantt view and select the appropriate task type from the new lookup list.

To add Flags for each of the list items:

Insert Flag fields (Flag1, Flag2, Flag3, etc.) for as many of the types as you have defined. (For this example we'll use Flag1 for Requirements, Flag2 for Development, and Flag3 for testing.)

For Flag1 add the formula: Text1= "Requirements". The field should now show "yes" for any task you have selected Requirements from the lookup list.

Repeat for Flag2 using the formula Text1="Development" and for Flag3 Text1="Testing".

To create the Bars:

  1. Right click over the Gantt chart and select Bar Styles to open the Bar Styles dialog.
  2. Click in the Bar style for Task and Cut Row.
  3. Click Paste Row to insert the bar back in.
  4. Scroll to the bottom of the list and click Paste Row as many times as you have types and flags. (in this example, 3 times).
  5. Change the name of each one of the 3 new bars to Requirements, Developement, Testing.
  6. For the Requirements task in the Show For....Task area, enter Flag1.
  7. For the Development task in the Show For...Task area enter Flag2.
  8. For the Testing task use Flag 3.

Bar Styles dialog

You may remove the Flag fields from the view. Now by selecting the value from the Lookup list, you have automatically colored bars.

Ну, это сработало, но, боже мой. Команда MS Project должна уволить своего эксперта по UX / юзабилити. На самом деле они, вероятно, не имеют. Rubio 9 лет назад 0
Я не писал инструмент - я просто помогаю людям использовать его :-) Всегда пожалуйста. JulieS 9 лет назад 0

Похожие вопросы