hasDlblNumFormat() public method

Has Data Label NumFormat
public hasDlblNumFormat ( ) : string
return string
示例#1
0
 public function testDataLabelNumFormat()
 {
     $object = new Series();
     $this->assertEmpty($object->getDlblNumFormat());
     $this->assertFalse($object->hasDlblNumFormat());
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\Chart\\Series', $object->setDlblNumFormat('#%'));
     $this->assertEquals('#%', $object->getDlblNumFormat());
     $this->assertTrue($object->hasDlblNumFormat());
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\Chart\\Series', $object->setDlblNumFormat());
     $this->assertEmpty($object->getDlblNumFormat());
     $this->assertFalse($object->hasDlblNumFormat());
 }