天道酬勤,学无止境

phppowerpoint

如何使用 PHPPowerpoint/PHPPresentation 自定义折线图中的线条?(How do I customize the line in a line chart with PHPPowerpoint/PHPPresentation?)

问题 如何在 PHPPowerpoint/PHPPresentation 上自定义折线图中的线条? 我在那里的文档或样本中找不到任何东西来解决这个问题。 这是我的代码: $seriesData = array( 'Monday' => 12, 'Tuesday' => 15, 'Wednesday' => 13, 'Thursday' => 17, 'Friday' => 14, 'Saturday' => 9, 'Sunday' => 7 ); $lineChart = new Line(); $series = new Series('Downloads', $seriesData); $series->setShowSeriesName(false); $series->setShowValue(false); $series->setShowLeaderLines(false); $lineChart->addSeries($series); $shape = $currentSlide->createChartShape(); $shape->setResizeProportional(false)->setHeight(convertIn2Px(2.28))->setWidth(convertIn2Px(5.09))->setOffsetX(convertIn2Px(4

2021-12-12 12:34:42    分类:技术分享    php   phppowerpoint   phppresentation

How do I customize the line in a line chart with PHPPowerpoint/PHPPresentation?

How do I customize the lines in the line charts on PHPPowerpoint/PHPPresentation? I can't find anything in there documentation or in the samples to figure this out. Here's my code: $seriesData = array( 'Monday' => 12, 'Tuesday' => 15, 'Wednesday' => 13, 'Thursday' => 17, 'Friday' => 14, 'Saturday' => 9, 'Sunday' => 7 ); $lineChart = new Line(); $series = new Series('Downloads', $seriesData); $series->setShowSeriesName(false); $series->setShowValue(false); $series->setShowLeaderLines(false); $lineChart->addSeries($series); $shape = $currentSlide->createChartShape(); $shape-

2021-11-27 02:25:33    分类:问答    php   phppowerpoint   phppresentation