/**
  * build Gantt chart properties
  *
  * Gather all data needed to build the Gantt chart, field by field
  *
  * @param Bar_Engine $engine object
  */
 function buildProperties($engine)
 {
     parent::buildProperties($engine);
     // First, fill $engine->data an record where artifact postion in
     // array (mandatory to keep sort order)
     $engine->data = array();
     $nbArts = count($this->artifacts);
     for ($i = 0; $i < $nbArts; $i++) {
         $engine->data[$i]['id'] = $this->artifacts[$i];
         $this->artPos[$this->artifacts[$i]] = $i;
     }
     $this->getStartDate($engine);
     $this->getDueDate($engine);
     $this->getFinishDate($engine);
     $this->getProgress($engine);
     $this->getRightText($engine);
     $this->getSummary($engine);
     $engine->title = $this->chart->getTitle();
     $engine->description = $this->chart->getDescription();
     $engine->scale = $this->chart->getScale();
     $engine->asOfDate = $this->chart->getAs_of_date();
     $this->buildData($engine);
 }
 /**
  * build bar chart properties
  *
  * @param Bar_Engine $engine object
  */
 function buildProperties($engine)
 {
     parent::buildProperties($engine);
     $this->buildData($engine);
 }