Questtype ?Textinput?: add support for field sizes (Issue #252) and general improvements
This commit is contained in:
commit
8d903135a5
3476 changed files with 599099 additions and 0 deletions
35
www/analytics/plugins/ImageGraph/StaticGraph/VerticalBar.php
Normal file
35
www/analytics/plugins/ImageGraph/StaticGraph/VerticalBar.php
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
<?php
|
||||
/**
|
||||
* Piwik - Open source web analytics
|
||||
*
|
||||
* @link http://piwik.org
|
||||
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
|
||||
*
|
||||
*/
|
||||
namespace Piwik\Plugins\ImageGraph\StaticGraph;
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
class VerticalBar extends GridGraph
|
||||
{
|
||||
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,
|
||||
)
|
||||
);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue