* revert to 300.
This commit is contained in:
@@ -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, 'auto', 200);
|
||||
$burns[$project->id] = $this->report->createJSChart('line', $dataXML, 300, 200);
|
||||
}
|
||||
$projectGroups = array_chunk($projects, 3);
|
||||
|
||||
|
||||
@@ -59,7 +59,7 @@ $js
|
||||
<div id="$divID"></div>
|
||||
<script language="JavaScript">
|
||||
chartWidth = "$width";
|
||||
if(chartWidth == 'auto') chartWidth = $('#$divID').css('width').replace('px', '');
|
||||
if(chartWidth == 'auto') chartWidth = $('#$divID').width();
|
||||
var $chartID = new FusionCharts("$chartRoot$swfFile", "{$chartID}id", chartWidth, "$height");
|
||||
$chartID.setDataXML("$dataXML");
|
||||
$chartID.render("$divID");
|
||||
|
||||
Reference in New Issue
Block a user