Download plugins/ImageGraph/StaticGraph/VerticalBar.php from Leon4gr45/matomo: direct link, hf CLI and curl.
- Browser
- Download file 705 Bytes
-
https://huggingface.co/spaces/Leon4gr45/matomo/resolve/main/plugins/ImageGraph/StaticGraph/VerticalBar.php
- Command line
-
hf download hf://spaces/Leon4gr45/matomo/plugins/ImageGraph/StaticGraph/VerticalBar.php
-
curl -L -o VerticalBar.php https://huggingface.co/spaces/Leon4gr45/matomo/resolve/main/plugins/ImageGraph/StaticGraph/VerticalBar.php
705 Bytes
| /** | |
| * Matomo - free/libre analytics platform | |
| * | |
| * @link https://matomo.org | |
| * @license https://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later | |
| */ | |
| namespace Piwik\Plugins\ImageGraph\StaticGraph; | |
| class VerticalBar extends GridGraph | |
| { | |
| public const INTERLEAVE = 0.10; | |
| public function renderGraph() | |
| { | |
| $this->initGridChart( | |
| $displayVerticalGridLines = false, | |
| $bulletType = LEGEND_FAMILY_BOX, | |
| $horizontalGraph = false, | |
| $showTicks = true, | |
| $verticalLegend = false | |
| ); | |
| $this->pImage->drawBarChart( | |
| array( | |
| 'Interleave' => self::INTERLEAVE, | |
| ) | |
| ); | |
| } | |
| } | |