Fix height of graph
This commit is contained in:
parent
1ff55100d4
commit
0db72852fb
@ -192,10 +192,10 @@ function getPieChart($socid = 0)
|
|||||||
{
|
{
|
||||||
$dolgraph = new DolGraph();
|
$dolgraph = new DolGraph();
|
||||||
$dolgraph->SetData($dataseries);
|
$dolgraph->SetData($dataseries);
|
||||||
$dolgraph->setShowLegend(1);
|
$dolgraph->setShowLegend(2);
|
||||||
$dolgraph->setShowPercent(1);
|
$dolgraph->setShowPercent(1);
|
||||||
$dolgraph->SetType(['pie']);
|
$dolgraph->SetType(['pie']);
|
||||||
$dolgraph->setWidth('100%');
|
$dolgraph->setHeight('200');
|
||||||
$dolgraph->draw('idgraphthirdparties');
|
$dolgraph->draw('idgraphthirdparties');
|
||||||
|
|
||||||
$result .= '<tr>';
|
$result .= '<tr>';
|
||||||
|
|||||||
@ -193,10 +193,10 @@ function getPieChart($socid = 0)
|
|||||||
{
|
{
|
||||||
$dolgraph = new DolGraph();
|
$dolgraph = new DolGraph();
|
||||||
$dolgraph->SetData($dataseries);
|
$dolgraph->SetData($dataseries);
|
||||||
$dolgraph->setShowLegend(1);
|
$dolgraph->setShowLegend(2);
|
||||||
$dolgraph->setShowPercent(1);
|
$dolgraph->setShowPercent(1);
|
||||||
$dolgraph->SetType(['pie']);
|
$dolgraph->SetType(['pie']);
|
||||||
$dolgraph->setWidth('100%');
|
$dolgraph->setHeight('200');
|
||||||
$dolgraph->draw('idgraphthirdparties');
|
$dolgraph->draw('idgraphthirdparties');
|
||||||
|
|
||||||
$result .= '<tr>';
|
$result .= '<tr>';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user