Updated libchart and model/stat/chart.php

Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
Janos SUTO
2020-03-14 08:38:55 +01:00
parent a01a3b9eb5
commit e606c785a2
28 changed files with 3653 additions and 3420 deletions

View File

@ -12,7 +12,6 @@ class ModelStatChart extends Model {
$chart = new LineChart($size_x, $size_y);
$chart->getPlot()->getPalette()->setLineColor(array(
//new Color(26, 192, 144),
new Color(208, 48, 128),
));
@ -74,10 +73,7 @@ class ModelStatChart extends Model {
}
$dataSet = new XYSeriesDataSet();
$dataSet->addSerie("RCVD", $line1);
$chart->setDataSet($dataSet);
$chart->setDataSet($line1);
$chart->setTitle($title);
$chart->getPlot()->setGraphCaptionRatio(0.80);