Set the axis options
public setAxisOptions ( Pop\Color\Space\ColorInterface $color = null, integer $width = 2 ) : |
||
$color | Pop\Color\Space\ColorInterface | |
$width | integer | |
return |
public function testSetAxisOptions() { $g = new Graph($this->imageOptions); $g->setAxisOptions(new Rgb(128, 128, 128), 5); $this->assertEquals(new Rgb(128, 128, 128), $g->getAxisColor()); $this->assertEquals(5, $g->getAxisWidth()); }