Try to fix false positive with dolgraph

This commit is contained in:
Laurent Destailleur 2013-09-10 16:12:20 +02:00
parent 21602b34a9
commit f195d59c9c

View File

@ -952,8 +952,7 @@ class DolGraph
var z = item.series.xaxis.ticks[item.dataIndex].label; var z = item.series.xaxis.ticks[item.dataIndex].label;
'; ';
if ($this->showpointvalue > 0) $this->_stringtoshow.=' if ($this->showpointvalue > 0) $this->_stringtoshow.='
showTooltip_'.$tag.'(item.pageX, item.pageY, showTooltip_'.$tag.'(item.pageX, item.pageY, item.series.label + "<br>" + z + " => " + y);
item.series.label + "<br>" + z + " => " + y);
'; ';
$this->_stringtoshow.=' $this->_stringtoshow.='
} }
@ -1039,6 +1038,7 @@ class DolGraph
if ($direction == 'height') return ($conf->dol_optimize_smallscreen?'160':($defaultsize?$defaultsize:'200')); if ($direction == 'height') return ($conf->dol_optimize_smallscreen?'160':($defaultsize?$defaultsize:'200'));
return 0; return 0;
} }
} }
?> ?>