PluginProbe
wpDataTables – WordPress Data Table, Dynamic Tables & Table Charts Plugin / 6.5.1.7
wpDataTables – WordPress Data Table, Dynamic Tables & Table Charts Plugin v6.5.1.7
6.5.1.7 6.5.1.6 6.5.1.5 6.5.1.4 6.5.1.3 6.5.1.2 6.5.1.1 6.5.0.9 6.5.0.8 6.5.0.7 6.5.0.6 trunk 3.4.2.40 3.4.2.41 3.4.2.42 3.4.2.43 3.4.2.44 3.4.2.45 3.4.2.46 3.4.2.47 3.4.2.48 3.4.2.49 3.4.2.50 6.3.2 6.3.3.1 All 47 releases
wpdatatables / lib / phpoffice / phpspreadsheet / src / PhpSpreadsheet / Chart / Renderer / JpGraph.php

JpGraph.php in wpDataTables – WordPress Data Table, Dynamic Tables & Table Charts Plugin 6.5.1.7, at lib/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Chart/Renderer/JpGraph.php

41 lines 1.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace PhpOffice\PhpSpreadsheet\Chart\Renderer;
4
5 /**
6 * Jpgraph is not oficially maintained in Composer, so the version there
7 * could be out of date. For that reason, all unit test requiring Jpgraph
8 * are skipped. So, do not measure code coverage for this class till that
9 * is fixed.
10 *
11 * This implementation uses abandoned package
12 * https://packagist.org/packages/jpgraph/jpgraph
13 *
14 * @codeCoverageIgnore
15 */
16 class JpGraph extends JpGraphRendererBase
17 {
18 protected static function init(): void
19 {
20 static $loaded = false;
21 if ($loaded) {
22 return;
23 }
24
25 // JpGraph is no longer included with distribution, but user may install it.
26 // So Scrutinizer's complaint that it can't find it is reasonable, but unfixable.
27 \JpGraph\JpGraph::load();
28 \JpGraph\JpGraph::module('bar');
29 \JpGraph\JpGraph::module('contour');
30 \JpGraph\JpGraph::module('line');
31 \JpGraph\JpGraph::module('pie');
32 \JpGraph\JpGraph::module('pie3d');
33 \JpGraph\JpGraph::module('radar');
34 \JpGraph\JpGraph::module('regstat');
35 \JpGraph\JpGraph::module('scatter');
36 \JpGraph\JpGraph::module('stock');
37
38 $loaded = true;
39 }
40 }
41