PHP 클래스 PhpOffice\PhpPresentation\Shape\Chart\Axis

상속: implements PhpOffice\PhpPresentation\ComparableInterface
파일 보기 프로젝트 열기: phpoffice/phppowerpoint 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$majorGridlines Gridlines
$minorGridlines Gridlines

공개 메소드들

메소드 설명
__construct ( string $title = 'Axis Title' ) Create a new \PhpOffice\PhpPresentation\Shape\Chart\Axis instance
getFont ( ) : Font Get font
getFormatCode ( ) : string Get Format Code
getHashCode ( ) : string Get hash code
getHashIndex ( ) : string Get hash index
getMajorGridlines ( ) : Gridlines
getMinorGridlines ( ) : Gridlines
getTitle ( ) : string Get Title
setFont ( Font $pFont = null ) : Paragraph Set font
setFormatCode ( string $value = '' ) : Axis Set Format Code
setHashIndex ( string $value ) Set hash index
setMajorGridlines ( Gridlines $majorGridlines ) : Axis
setMinorGridlines ( Gridlines $minorGridlines ) : Axis
setTitle ( string $value = 'Axis Title' ) : Axis Set Title

메소드 상세

__construct() 공개 메소드

Create a new \PhpOffice\PhpPresentation\Shape\Chart\Axis instance
public __construct ( string $title = 'Axis Title' )
$title string Title

getFont() 공개 메소드

Get font
public getFont ( ) : Font
리턴 PhpOffice\PhpPresentation\Style\Font

getFormatCode() 공개 메소드

Get Format Code
public getFormatCode ( ) : string
리턴 string

getHashCode() 공개 메소드

Get hash code
public getHashCode ( ) : string
리턴 string Hash code

getHashIndex() 공개 메소드

Note that this index may vary during script execution! Only reliable moment is while doing a write of a workbook and when changes are not allowed.
public getHashIndex ( ) : string
리턴 string Hash index

getMajorGridlines() 공개 메소드

public getMajorGridlines ( ) : Gridlines
리턴 Gridlines

getMinorGridlines() 공개 메소드

public getMinorGridlines ( ) : Gridlines
리턴 Gridlines

getTitle() 공개 메소드

Get Title
public getTitle ( ) : string
리턴 string

setFont() 공개 메소드

Set font
public setFont ( Font $pFont = null ) : Paragraph
$pFont PhpOffice\PhpPresentation\Style\Font Font
리턴 PhpOffice\PhpPresentation\Shape\RichText\Paragraph

setFormatCode() 공개 메소드

Set Format Code
public setFormatCode ( string $value = '' ) : Axis
$value string
리턴 Axis

setHashIndex() 공개 메소드

Note that this index may vary during script execution! Only reliable moment is while doing a write of a workbook and when changes are not allowed.
public setHashIndex ( string $value )
$value string Hash index

setMajorGridlines() 공개 메소드

public setMajorGridlines ( Gridlines $majorGridlines ) : Axis
$majorGridlines Gridlines
리턴 Axis

setMinorGridlines() 공개 메소드

public setMinorGridlines ( Gridlines $minorGridlines ) : Axis
$minorGridlines Gridlines
리턴 Axis

setTitle() 공개 메소드

Set Title
public setTitle ( string $value = 'Axis Title' ) : Axis
$value string
리턴 Axis

프로퍼티 상세

$majorGridlines 보호되어 있는 프로퍼티

protected Gridlines,PhpOffice\PhpPresentation\Shape\Chart $majorGridlines
리턴 Gridlines

$minorGridlines 보호되어 있는 프로퍼티

protected Gridlines,PhpOffice\PhpPresentation\Shape\Chart $minorGridlines
리턴 Gridlines