diff options
author | JulienMoumne <julien@piwik.org> | 2012-02-08 17:26:43 +0400 |
---|---|---|
committer | JulienMoumne <julien@piwik.org> | 2012-02-08 17:26:43 +0400 |
commit | e1d7b66bb57e403599a2b3e09a3cd4046039600b (patch) | |
tree | 15b687ca7a9b270403f5923de6580429aab86772 /core/ReportRenderer.php | |
parent | 72aa5f4c7a0b8ee2ba031bae38f9c8274c64b62e (diff) |
fixes #2862 increasing static graph resolution when generating PDF reports
git-svn-id: http://dev.piwik.org/svn/trunk@5786 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'core/ReportRenderer.php')
-rw-r--r-- | core/ReportRenderer.php | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/core/ReportRenderer.php b/core/ReportRenderer.php index 76bc5df2a0..642161d786 100644 --- a/core/ReportRenderer.php +++ b/core/ReportRenderer.php @@ -19,8 +19,6 @@ */ abstract class Piwik_ReportRenderer { - const IMAGE_GRAPH_HEIGHT = 200; - const IMAGE_GRAPH_WIDTH = 700; const DEFAULT_REPORT_FONT = 'dejavusans'; const REPORT_TEXT_COLOR = "68,68,68"; const REPORT_TITLE_TEXT_COLOR = "126,115,99"; @@ -118,6 +116,16 @@ abstract class Piwik_ReportRenderer abstract public function renderReport($processedReport); /** + * @param int height of the static graph drawn by the report renderer + */ + abstract public function getStaticGraphHeight(); + + /** + * @param int width of the static graph drawn by the report renderer + */ + abstract public function getStaticGraphWidth(); + + /** * Append $extension to $filename * * @static |