Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Metadata improvements to generate static graph image URL #2670

Closed
mattab opened this issue Sep 17, 2011 · 6 comments
Closed

Metadata improvements to generate static graph image URL #2670

mattab opened this issue Sep 17, 2011 · 6 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Milestone

Comments

@mattab
Copy link
Member

mattab commented Sep 17, 2011

Improve Metadata output to offer the URL to the graph in the metadata, for Piwik mobile and PDF integration. Notes:

  • Metadata will specify the parameters: idSite, period, date, apiModule, apiAction but also:
    • graphType
    • use line graph for "Metadata without dimension" VisitsSummary.get, Goals.get, with default metric
    • use bar graph (or Pie chart) for "Metadata with dimension" (keywords, countries, etc)
    • column, default to the "main" metric for evolution graphs?

So Piwik Mobile will define: $width, $height, $fontSize, $colors, $date, $period, $token_auth, $language.

See #1721

@mattab
Copy link
Member Author

mattab commented Sep 19, 2011

see also #2134

@mattab
Copy link
Member Author

mattab commented Oct 14, 2011

(In [5296]) Fixes #2670

  • Metadata output now contains "imageGraphUrl"
  • the function used by piwik mobile and others, API.getReportMetadata now accepts period and date parameters
    • for "Evolution graphs" (goals, visitssummary, etc.) we must "plot" multiple days previous to the currently selected date.
      The metadata APi automatically does the $date parameter rewrite, when period != range, and date is not already a range.
      Therefore the imageGraphUrl can be used as is.
  • New page available at: index.php?module=ImageGraph&action=index&idSite=1&period=month&date=2011-04-17

Refs #1721

  • Showing less vertical bars in graph by default
  • Displaying empty graph when there is no data

@mattab
Copy link
Member Author

mattab commented Oct 14, 2011

(In [5298]) Refs #2670

  • Fixing few bugs found by integration tests and hopefully fixing build!

@mattab
Copy link
Member Author

mattab commented Oct 14, 2011

(In [5301]) Refs #2670

  • Testing for Freetype support otherwise throwing exception

@julienmoumne
Copy link
Member

(In [5415]) fixes #2706

@julienmoumne
Copy link
Member

(In [5582]) * fixes #2706, #2828, #2704, refs #1721, #2637, #2711, #2318, #71 : horizontal static graph implemented

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Projects
None yet
Development

No branches or pull requests

2 participants