From 579d2f9f6987960a5ab55b14ec994b79e4445ec1 Mon Sep 17 00:00:00 2001 From: MarkBaker Date: Sun, 18 Sep 2022 21:17:03 +0200 Subject: [PATCH] Minor documentation update --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c3320d70..ef04cd07 100644 --- a/README.md +++ b/README.md @@ -76,8 +76,6 @@ For Chart export, we support following packages, which you will also need to ins You can manually download the latest version that supports PHP 8 and above from [jpgraph.net](https://jpgraph.net/)) - [mitoteam/jpgraph](https://packagist.org/packages/mitoteam/jpgraph) (fork with php 8.1 support) -One or the other of these libraries is necessary if you want to generate HTML or PDF files that include charts. - and then configure PhpSpreadsheet using: ```php Settings::setChartRenderer(\PhpOffice\PhpSpreadsheet\Chart\Renderer\JpGraph::class); // to use jpgraph/jpgraph @@ -85,6 +83,8 @@ Settings::setChartRenderer(\PhpOffice\PhpSpreadsheet\Chart\Renderer\JpGraph::cla Settings::setChartRenderer(\PhpOffice\PhpSpreadsheet\Chart\Renderer\MtJpGraphRenderer::class); // to use mitoteam/jpgraph ``` +One or the other of these libraries is necessary if you want to generate HTML or PDF files that include charts. + ## Documentation Read more about it, including install instructions, in the [official documentation](https://phpspreadsheet.readthedocs.io). Or check out the [API documentation](https://phpoffice.github.io/PhpSpreadsheet).