showText() public method

Set the 'show data text' flag
public showText ( boolean $showText ) : Graph
$showText boolean
return Graph
Example #1
0
 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);
 }