private function runGenerateBalanceTimeGraph($w, $h, $file) { $graph = new Graph($w, $h); $graph->setXAxis(new Graph_TimestampAxis($this->getMitgliederCountStart(), $this->getMitgliederCountEnd(), "d.m.Y", $this->getMitgliederCountScale())); $graph->setYAxis(new Graph_DefaultAxis(-1.05 * $this->maxMitgliederAustritte, 1.05 * $this->maxMitgliederEintritte)); $graph->addData(new Graph_SumData($this->mitgliederEintritte, 0, 1, new Graph_Color(30, 240, 30))); $graph->addData(new Graph_SumData($this->mitgliederAustritte, 0, -1, new Graph_Color(255, 0, 0))); $graph->plot($file); }