public function showText($showText) { $this->showText = (bool) $showText; return $this; }
public function testShow() { $g = new Graph($this->imageOptions); $g->showText(true)->showX(true, new Rgb(128, 128, 128))->showY(true, new Rgb(128, 128, 128)); $this->assertInstanceOf('Pop\\Graph\\Graph', $g); }