PhpOffice\PhpPresentation\Shape\Chart\Series::setDlblNumFormat PHP Method

setDlblNumFormat() public method

Set Data Label NumFormat
public setDlblNumFormat ( string $value = '' ) : Series
$value string
return Series
    public function setDlblNumFormat($value = '')
    {
        $this->DlblNumFormat = $value;
        return $this;
    }

Usage Example

Example #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());
 }
All Usage Examples Of PhpOffice\PhpPresentation\Shape\Chart\Series::setDlblNumFormat