* set the width of chart to auto.

This commit is contained in:
wangchunsheng
2009-12-25 09:11:16 +00:00
parent cc5dd9fec4
commit 29658673d7
2 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ class index extends control
foreach($projects as $project)
{
$dataXML = $this->report->createSingleXML($this->project->getBurnData($project->id), $this->lang->project->charts->burn->graph);
$burns[$project->id] = $this->report->createJSChart('line', $dataXML, 300, 200);
$burns[$project->id] = $this->report->createJSChart('line', $dataXML, 'auto', 200);
}
$projectGroups = array_chunk($projects, 3);