ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
33chartcreate-pie.php File Reference

Go to the source code of this file.

Namespaces

 PHPExcel
 

Variables

const EOL (PHP_SAPI == 'cli') ? PHP_EOL : '<br />'
 
 $objPHPExcel = new PHPExcel()
 PHPExcel. More...
 
 $objWorksheet = $objPHPExcel->getActiveSheet()
 
 $dataSeriesLabels1
 
 $xAxisTickValues1
 
 $dataSeriesValues1
 
 $series1
 
 $layout1 = new PHPExcel_Chart_Layout()
 
 $plotArea1 = new PHPExcel_Chart_PlotArea($layout1, array($series1))
 
 $legend1 = new PHPExcel_Chart_Legend(PHPExcel_Chart_Legend::POSITION_RIGHT, NULL, false)
 
 $title1 = new PHPExcel_Chart_Title('Test Pie Chart')
 
 $chart1
 
 $dataSeriesLabels2
 
 $xAxisTickValues2
 
 $dataSeriesValues2
 
 $series2
 
 $layout2 = new PHPExcel_Chart_Layout()
 
 $plotArea2 = new PHPExcel_Chart_PlotArea($layout2, array($series2))
 
 $title2 = new PHPExcel_Chart_Title('Test Donut Chart')
 
 $chart2
 
Write to Excel2007 format
 
 $objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007')
 
File written to
 
Peak memory usage
 
Peak memory memory_get_peak_usage(true)/1024/1024) MB
 
Done writing file
 

Variable Documentation

◆ $chart1

$chart1
Initial value:
'chart1',
true,
0,
NULL,
NULL
)

Definition at line 111 of file 33chartcreate-pie.php.

◆ $chart2

$chart2
Initial value:
'chart2',
NULL,
true,
0,
NULL,
NULL
)

Definition at line 183 of file 33chartcreate-pie.php.

◆ $dataSeriesLabels1

$dataSeriesLabels1
Initial value:
new PHPExcel_Chart_DataSeriesValues('String', 'Worksheet!$C$1', NULL, 1),
)
Create styles array
The data for the language used.

Definition at line 63 of file 33chartcreate-pie.php.

◆ $dataSeriesLabels2

$dataSeriesLabels2
Initial value:
new PHPExcel_Chart_DataSeriesValues('String', 'Worksheet!$C$1', NULL, 1),
)
Create styles array
The data for the language used.

Definition at line 137 of file 33chartcreate-pie.php.

◆ $dataSeriesValues1

$dataSeriesValues1
Initial value:
new PHPExcel_Chart_DataSeriesValues('Number', 'Worksheet!$C$2:$C$5', NULL, 4),
)
Create styles array
The data for the language used.

Definition at line 83 of file 33chartcreate-pie.php.

◆ $dataSeriesValues2

$dataSeriesValues2
Initial value:
new PHPExcel_Chart_DataSeriesValues('Number', 'Worksheet!$C$2:$C$5', NULL, 4),
)
Create styles array
The data for the language used.

Definition at line 157 of file 33chartcreate-pie.php.

◆ $layout1

$layout1 = new PHPExcel_Chart_Layout()

Definition at line 98 of file 33chartcreate-pie.php.

◆ $layout2

$layout2 = new PHPExcel_Chart_Layout()

Definition at line 172 of file 33chartcreate-pie.php.

◆ $legend1

Definition at line 105 of file 33chartcreate-pie.php.

◆ $objPHPExcel

$objPHPExcel = new PHPExcel()

PHPExcel.

Definition at line 43 of file 33chartcreate-pie.php.

◆ $objWorksheet

$objWorksheet = $objPHPExcel->getActiveSheet()

Definition at line 44 of file 33chartcreate-pie.php.

◆ $objWriter

$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007')

Definition at line 204 of file 33chartcreate-pie.php.

◆ $plotArea1

$plotArea1 = new PHPExcel_Chart_PlotArea($layout1, array($series1))

Definition at line 103 of file 33chartcreate-pie.php.

◆ $plotArea2

$plotArea2 = new PHPExcel_Chart_PlotArea($layout2, array($series2))

Definition at line 177 of file 33chartcreate-pie.php.

◆ $series1

◆ $series2

◆ $title1

$title1 = new PHPExcel_Chart_Title('Test Pie Chart')

Definition at line 107 of file 33chartcreate-pie.php.

◆ $title2

$title2 = new PHPExcel_Chart_Title('Test Donut Chart')

Definition at line 179 of file 33chartcreate-pie.php.

◆ $xAxisTickValues1

$xAxisTickValues1
Initial value:
new PHPExcel_Chart_DataSeriesValues('String', 'Worksheet!$A$2:$A$5', NULL, 4),
)
Create styles array
The data for the language used.

Definition at line 73 of file 33chartcreate-pie.php.

◆ $xAxisTickValues2

$xAxisTickValues2
Initial value:
new PHPExcel_Chart_DataSeriesValues('String', 'Worksheet!$A$2:$A$5', NULL, 4),
)
Create styles array
The data for the language used.

Definition at line 147 of file 33chartcreate-pie.php.

◆ EOL

getcwd () EOL (PHP_SAPI == 'cli') ? PHP_EOL : '<br />'

Definition at line 9 of file 33chartcreate-pie.php.

◆ file

Done writing file

Definition at line 214 of file 33chartcreate-pie.php.

◆ format

Write to Excel2007 format

Definition at line 203 of file 33chartcreate-pie.php.

◆ MB

Peak memory memory_get_peak_usage (true)/1024/1024) MB

Definition at line 211 of file 33chartcreate-pie.php.

◆ to

File written to

Definition at line 207 of file 33chartcreate-pie.php.

◆ usage

Peak memory usage

Definition at line 211 of file 33chartcreate-pie.php.