ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
33chartcreate-stock.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()
 
 $dataSeriesLabels
 
 $xAxisTickValues
 
 $dataSeriesValues
 
 $series
 
 $plotArea = new PHPExcel_Chart_PlotArea(NULL, array($series))
 
 $legend = new PHPExcel_Chart_Legend(PHPExcel_Chart_Legend::POSITION_RIGHT, NULL, false)
 
 $title = new PHPExcel_Chart_Title('Test Stock Chart')
 
 $xAxisLabel = new PHPExcel_Chart_Title('Counts')
 
 $yAxisLabel = new PHPExcel_Chart_Title('Values')
 
 $chart
 
Write to Excel2007 format
 
 $objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007')
 
 $filename = str_replace('.php', '.xlsx', __FILE__)
 
File written to
 
Peak memory usage
 
Peak memory memory_get_peak_usage(true)/1024/1024) MB
 
Done writing file
 

Variable Documentation

◆ $chart

Initial value:

Definition at line 115 of file 33chartcreate-stock.php.

◆ $dataSeriesLabels

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

Definition at line 65 of file 33chartcreate-stock.php.

◆ $dataSeriesValues

$dataSeriesValues
Initial value:
new PHPExcel_Chart_DataSeriesValues('Number', 'Worksheet!$B$2:$B$6', NULL, 5),
new PHPExcel_Chart_DataSeriesValues('Number', 'Worksheet!$C$2:$C$6', NULL, 5),
new PHPExcel_Chart_DataSeriesValues('Number', 'Worksheet!$D$2:$D$6', NULL, 5),
new PHPExcel_Chart_DataSeriesValues('Number', 'Worksheet!$E$2:$E$6', NULL, 5),
)
Create styles array
The data for the language used.

Definition at line 88 of file 33chartcreate-stock.php.

◆ $filename

$filename = str_replace('.php', '.xlsx', __FILE__)

Definition at line 138 of file 33chartcreate-stock.php.

Referenced by ilQuestionPoolExportTableGUI\__construct(), ilTestExportTableGUI\__construct(), ilMimeMail\_build_attachement(), PHPExcel_Writer_Excel5\_buildWorkbookEscher(), GetId3\Module\Tag\Xmp\_get_jpeg_header_data(), GetId3\Module\Tag\Xmp\_get_XMP_text(), PHPExcel_Reader_Gnumeric\_gzfileGetContents(), PHPExcel_Calculation\_loadLocales(), TCPDF\_putannotsobjs(), TCPDF\_putbookmarks(), TCPDF\_putEmbeddedFiles(), PHPExcel_Reader_Excel5\_readImData(), PHPExcel_Writer_HTML\_writeImageInCell(), PHPMailer\addAttachment(), HTML_Template_ITX\addBlockfile(), PHPMailer\addEmbeddedImage(), PHPMailer\addStringAttachment(), assKprimChoice\afterSyncWithOriginal(), GetId3\GetId3Core\analyze(), ilTestArchiveService\archiveActivesPass(), ilTestPlayerAbstractGUI\archiveParticipantSubmission(), ilMimeMail\Attach(), ilBaseWorkflow\autoload(), benchmarkTest(), ilQuestionpoolExport\buildExportFileXLS(), ilTestExport\buildExportResultFile(), ilTestSubmissionReviewGUI\buildPdfFilename(), ilMultipleChoiceWizardInputGUI\checkInput(), ilImageWizardInputGUI\checkInput(), ilMatchingWizardInputGUI\checkInput(), ilSingleChoiceWizardInputGUI\checkInput(), assFileUpload\checkUpload(), ilKprimChoiceWizardInputGUI\checkUploads(), HTMLPurifier_DefinitionCache_Serializer\cleanup(), ilExportGUI\confirmDeletion(), assFlashQuestion\copyApplet(), assJavaApplet\copyApplet(), assImagemapQuestion\copyImage(), assOrderingQuestion\copyImages(), assMatchingQuestion\copyImages(), assMultipleChoice\copyImages(), assQuestion\copySuggestedSolutionFiles(), ilObjUserFolder\createCSVExport(), ilObjUserFolder\createExcelExport(), ilFileUtils\createFile(), ilObjFileBasedLMGUI\createFromDirectory(), ilObjUserFolder\createXMLExport(), ilSCORM13Package\dbImportSco(), ilMailAttachmentGUI\deleteAttachments(), assMultipleChoice\deleteImage(), assMatchingQuestion\deleteImagefile(), ilExSubmission\deleteSelectedFiles(), ilMailFolderGUI\deliverFile(), ilObjTest\deliverPDFfromFO(), domxml_open_file(), ilObjFolderGUI\downloadFolderObject(), ilSCORM13Player\downloadLog(), ilExSubmission\downloadMultipleFiles(), ilObjLanguageExtGUI\downloadObject(), ilExSubmission\downloadSingleFile(), php4DOMDocument\dump_file(), assFlashQuestion\duplicateApplet(), assJavaApplet\duplicateApplet(), assImagemapQuestion\duplicateImage(), assOrderingQuestion\duplicateImages(), assMatchingQuestion\duplicateImages(), assSingleChoice\duplicateImages(), SurveyQuestion\duplicateMaterials(), assQuestion\duplicateSuggestedSolutionFiles(), ilWikiStatGUI\export(), ilDclContentExporter\export(), ilMemberExportGUI\export(), ilSessionStatisticsGUI\exportCSV(), ilTable2GUI\exportData(), ilMemberExportGUI\exportExcel(), ilObjFileBasedLMGUI\exportHTML(), ilObjQuestionPoolGUI\exportQuestionObject(), ilTemplate\fileExists(), GetId3\Lib\Helper\fileextension(), PHPMailer\filenameToType(), ilTemplate\fillCssFiles(), ilDclExportTableGUI\fillRow(), ilFileVersionTableGUI\fillRow(), HTMLPurifier_DefinitionCache_Serializer\flush(), TCPDF_STATIC\fopenLocal(), assFlashQuestionImport\fromXML(), ilTestPDFGenerator\generatePDF(), assSingleChoice\generateThumbForFile(), assMultipleChoice\generateThumbForFile(), assKprimChoice\generateThumbForFile(), assOrderingQuestion\generateThumbForFile(), assMatchingQuestion\generateThumbForFile(), Magic\get_language(), cweagans\Composer\Patches\getAndApplyPatch(), ilObjTest\getCustomStyles(), assOrderingQuestion\getEncryptedFilename(), assMatchingQuestion\getEncryptedFilename(), ilObjUserFolder\getExportFilename(), ilDclExportTableGUI\getExportFiles(), ilIndependentTemplate\getFile(), HTML_Template_IT\getFile(), GetId3\GetId3Core\GetFileFormat(), PHPExcel_Shared_ZipArchive\getFromName(), ilMediaImageUtil\getImageSize(), ilUtil\getImageTagByType(), ilUtil\getJSLocation(), ilSCORM13Player\getMimetype(), CAS_PGTStorage_File\getPGTIouFilename(), ilImagemapPreview\getPreviewFilename(), ilSOAPStructureObjectAdministration\getStructureObjects(), ilUtil\getStyleSheetLocation(), ilTestSignaturePlugin\handInFileForArchiving(), ilExerciseXMLWriter\handleAssignmentFiles(), assKprimChoice\handleFileUpload(), ilObjFileGUI\handleFileUpload(), ilCertificate\importCertificate(), TCPDF_IMPORT\importPDF(), ilTestExportGUI\listExportFiles(), Magic\load_file(), Core\load_file(), ilExcel\loadFromFile(), HTMLPurifier_Config\loadIni(), HTMLPurifier_LanguageFactory\loadLanguage(), ilIndependentTemplate\loadTemplatefile(), HTML_Template_IT\loadTemplatefile(), ilTemplate\loadTemplatefile(), ilSCORM13Player\logFileName(), ilSCORM13Player\logTmpName(), PHPMailer\msgHTML(), ilMultipleImagesInputGUI\onCheckInput(), GetId3\GetId3Core\openfile(), ilSCORM13Player\openLog(), WavFile\openWav(), ilTestEvaluationGUI\outParticipantsResultsOverview(), LibRIS\RISReader\parseFile(), PHPMailerAutoload(), assJavaAppletGUI\populateQuestionSpecificFormPart(), ilSCORM13Player\postLogEntry(), ComponentInstaller\Process\RequireCssProcess\process(), ilStudyProgrammeType\processAndStoreIconFile(), ilOrgUnitType\processAndStoreIconFile(), ilExSubmission\processUploadedZipFile(), ilObjAICCCourseInterchangeFiles\readCRS(), ilObjAICCCourseInterchangeFiles\readCSVFile(), GetId3\Module\Misc\Cue\readCueSheetFilename(), ilObjAICCCourseInterchangeFiles\readFiles(), Symfony\Component\Process\Pipes\WindowsPipes\removeFiles(), assSingleChoiceGUI\removeimagechoice(), assMultipleChoiceGUI\removeimagechoice(), EasyPeasyICS\render(), HTML_Template_ITX\replaceBlockfile(), ilDclContentExporter\sanitizeFilename(), PHPExcel_Shared_OLE_PPS_Root\save(), WavFile\save(), GetId3\Handler\BaseHandler\saveAttachment(), ilCertificate\saveCertificate(), ilChatroom\saveFileUploadToDb(), assMatchingQuestionImport\saveImage(), ilUserImportParser\saveTempImage(), ilAccountMail\send(), ilPageObject\send_paragraph(), ilObjSCORMLearningModule\sendExportFile(), ilSoapUtils\sendMail(), ilBookmarkAdministrationGUI\sendmail(), phpCAS\setDebug(), ilFileXMLParser\setFileContents(), GetId3\GetId3Core\setHelperAppsDir(), ilStaticMethodCallActivity\setIncludeFilename(), ilFileXMLWriter\start(), Symfony\Component\Process\Process\start(), ilFileDataForumDrafts\storeUploadedFile(), ilFileDataForum\storeUploadedFile(), ilSCORM13Player\summaryFileName(), ilFilePreviewRenderer\supports(), assSingleChoice\syncImages(), assMultipleChoice\syncImages(), assQuestion\syncSuggestedSolutionFiles(), XEEValidatorTest\testInvalidXML(), XEEValidatorTest\testValidXML(), ilObjFileGUI\update(), ilExerciseXMLParser\updateFile(), ilTestArchiver\updateTestArchive(), ilChatroomUploadFileGUI\uploadFile(), ilFSStorageExercise5069\uploadFile(), ilFSStorageExercise\uploadFile(), ilBadgeImageTemplate\uploadImage(), assMatchingQuestionGUI\writeAnswerSpecificPostData(), assSingleChoiceGUI\writeAnswerSpecificPostData(), assMultipleChoiceGUI\writeAnswerSpecificPostData(), ilChatroomConfigFileHandler\writeDataToFile(), assFlashQuestionGUI\writeQuestionSpecificPostData(), and ilExcel\writeToTmpFile().

◆ $legend

Definition at line 108 of file 33chartcreate-stock.php.

◆ $objPHPExcel

$objPHPExcel = new PHPExcel()

PHPExcel.

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

◆ $objWorksheet

$objWorksheet = $objPHPExcel->getActiveSheet()

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

◆ $objWriter

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

Definition at line 136 of file 33chartcreate-stock.php.

◆ $plotArea

$plotArea = new PHPExcel_Chart_PlotArea(NULL, array($series))

Definition at line 106 of file 33chartcreate-stock.php.

◆ $series

◆ $title

$title = new PHPExcel_Chart_Title('Test Stock Chart')

Definition at line 110 of file 33chartcreate-stock.php.

◆ $xAxisLabel

$xAxisLabel = new PHPExcel_Chart_Title('Counts')

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

◆ $xAxisTickValues

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

Definition at line 78 of file 33chartcreate-stock.php.

◆ $yAxisLabel

$yAxisLabel = new PHPExcel_Chart_Title('Values')

Definition at line 112 of file 33chartcreate-stock.php.

◆ EOL

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

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

◆ file

Done writing file

Definition at line 150 of file 33chartcreate-stock.php.

◆ format

Write to Excel2007 format

Definition at line 135 of file 33chartcreate-stock.php.

◆ MB

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

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

◆ to

File written to

Definition at line 143 of file 33chartcreate-stock.php.

◆ usage

Peak memory usage

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