PHP Class PhpOffice\PhpPresentation\Shape\Chart\Series

Inheritance: implements PhpOffice\PhpPresentation\ComparableInterface
Afficher le fichier Open project: phpoffice/phppowerpoint Class Usage Examples

Protected Properties

Свойство Type Description
$marker Marker
$outline PhpOffice\PhpPresentation\Style\Outline

Méthodes publiques

Méthode Description
__clone ( ) : mixed
__construct ( string $title = 'Series Title', array $values = [] ) Create a new \PhpOffice\PhpPresentation\Shape\Chart\Series instance
addValue ( mixed $key, mixed $value ) : Series Add Value
getDataPointFill ( integer $dataPointIndex ) : PhpOffice\PhpPresentation\Style\Fill Get DataPointFill
getDataPointFills ( ) : PhpOffice\PhpPresentation\Style\Fill[] Get DataPointFills
getDlblNumFormat ( ) : string Get Data Label NumFormat
getFill ( ) : PhpOffice\PhpPresentation\Style\Fill Get Fill
getFont ( ) : Font Get font
getHashCode ( ) : string Get hash code
getHashIndex ( ) : string Get hash index
getLabelPosition ( ) : string Get label position
getMarker ( ) : Marker
getOutline ( ) : Outline
getTitle ( ) : string Get Title
getValues ( ) : array Get Values
hasDlblNumFormat ( ) : string Has Data Label NumFormat
hasShowCategoryName ( ) : boolean Get ShowCategoryName
hasShowLeaderLines ( ) : boolean Get ShowLeaderLines
hasShowPercentage ( ) : boolean Get ShowPercentage
hasShowSeriesName ( ) : boolean Get ShowSeriesName
hasShowValue ( ) : boolean Get ShowValue
setDlblNumFormat ( string $value = '' ) : Series Set Data Label NumFormat
setFill ( PhpOffice\PhpPresentation\Style\Fill $fill = null ) : Series Set Fill
setFont ( Font $pFont = null ) : Paragraph Set font
setHashIndex ( string $value ) : Series Set hash index
setLabelPosition ( string $value ) : Series Set label position
setMarker ( Marker $marker ) : Series
setOutline ( Outline $outline ) : Series
setShowCategoryName ( boolean $value ) : Series Set ShowCategoryName
setShowLeaderLines ( boolean $value ) : Series Set ShowLeaderLines
setShowPercentage ( boolean $value ) : Series Set ShowPercentage
setShowSeriesName ( boolean $value ) : Series Set ShowSeriesName
setShowValue ( boolean $value ) : Series Set ShowValue
setTitle ( string $value = 'Series Title' ) : Series Set Title
setValues ( array $value = [] ) : Series Set Values

Method Details

__clone() public méthode

public __clone ( ) : mixed
Résultat mixed

__construct() public méthode

Create a new \PhpOffice\PhpPresentation\Shape\Chart\Series instance
public __construct ( string $title = 'Series Title', array $values = [] )
$title string Title
$values array Values

addValue() public méthode

Add Value
public addValue ( mixed $key, mixed $value ) : Series
$key mixed
$value mixed
Résultat Series

getDataPointFill() public méthode

Get DataPointFill
public getDataPointFill ( integer $dataPointIndex ) : PhpOffice\PhpPresentation\Style\Fill
$dataPointIndex integer Data point index.
Résultat PhpOffice\PhpPresentation\Style\Fill

getDataPointFills() public méthode

Get DataPointFills
public getDataPointFills ( ) : PhpOffice\PhpPresentation\Style\Fill[]
Résultat PhpOffice\PhpPresentation\Style\Fill[]

getDlblNumFormat() public méthode

Get Data Label NumFormat
public getDlblNumFormat ( ) : string
Résultat string

getFill() public méthode

Get Fill
public getFill ( ) : PhpOffice\PhpPresentation\Style\Fill
Résultat PhpOffice\PhpPresentation\Style\Fill

getFont() public méthode

Get font
public getFont ( ) : Font
Résultat PhpOffice\PhpPresentation\Style\Font

getHashCode() public méthode

Get hash code
public getHashCode ( ) : string
Résultat string Hash code

getHashIndex() public méthode

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
Résultat string Hash index

getLabelPosition() public méthode

Get label position
public getLabelPosition ( ) : string
Résultat string

getMarker() public méthode

public getMarker ( ) : Marker
Résultat Marker

getOutline() public méthode

public getOutline ( ) : Outline
Résultat PhpOffice\PhpPresentation\Style\Outline

getTitle() public méthode

Get Title
public getTitle ( ) : string
Résultat string

getValues() public méthode

Get Values
public getValues ( ) : array
Résultat array

hasDlblNumFormat() public méthode

Has Data Label NumFormat
public hasDlblNumFormat ( ) : string
Résultat string

hasShowCategoryName() public méthode

Get ShowCategoryName
public hasShowCategoryName ( ) : boolean
Résultat boolean

hasShowLeaderLines() public méthode

Get ShowLeaderLines
public hasShowLeaderLines ( ) : boolean
Résultat boolean

hasShowPercentage() public méthode

Get ShowPercentage
public hasShowPercentage ( ) : boolean
Résultat boolean

hasShowSeriesName() public méthode

Get ShowSeriesName
public hasShowSeriesName ( ) : boolean
Résultat boolean

hasShowValue() public méthode

Get ShowValue
public hasShowValue ( ) : boolean
Résultat boolean

setDlblNumFormat() public méthode

Set Data Label NumFormat
public setDlblNumFormat ( string $value = '' ) : Series
$value string
Résultat Series

setFill() public méthode

Set Fill
public setFill ( PhpOffice\PhpPresentation\Style\Fill $fill = null ) : Series
$fill PhpOffice\PhpPresentation\Style\Fill
Résultat Series

setFont() public méthode

Set font
public setFont ( Font $pFont = null ) : Paragraph
$pFont PhpOffice\PhpPresentation\Style\Font Font
Résultat PhpOffice\PhpPresentation\Shape\RichText\Paragraph

setHashIndex() public méthode

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 ) : Series
$value string Hash index
Résultat Series

setLabelPosition() public méthode

Set label position
public setLabelPosition ( string $value ) : Series
$value string
Résultat Series

setMarker() public méthode

public setMarker ( Marker $marker ) : Series
$marker Marker
Résultat Series

setOutline() public méthode

public setOutline ( Outline $outline ) : Series
$outline PhpOffice\PhpPresentation\Style\Outline
Résultat Series

setShowCategoryName() public méthode

Set ShowCategoryName
public setShowCategoryName ( boolean $value ) : Series
$value boolean
Résultat Series

setShowLeaderLines() public méthode

Set ShowLeaderLines
public setShowLeaderLines ( boolean $value ) : Series
$value boolean
Résultat Series

setShowPercentage() public méthode

Set ShowPercentage
public setShowPercentage ( boolean $value ) : Series
$value boolean
Résultat Series

setShowSeriesName() public méthode

Set ShowSeriesName
public setShowSeriesName ( boolean $value ) : Series
$value boolean
Résultat Series

setShowValue() public méthode

Set ShowValue
public setShowValue ( boolean $value ) : Series
$value boolean
Résultat Series

setTitle() public méthode

Set Title
public setTitle ( string $value = 'Series Title' ) : Series
$value string
Résultat Series

setValues() public méthode

Set Values
public setValues ( array $value = [] ) : Series
$value array
Résultat Series

Property Details

$marker protected_oe property

protected Marker,PhpOffice\PhpPresentation\Shape\Chart $marker
Résultat Marker

$outline protected_oe property

protected Outline,PhpOffice\PhpPresentation\Style $outline
Résultat PhpOffice\PhpPresentation\Style\Outline