Navigation Menu

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

Fixes #7247, move default Formatter class to new Numeric metrics formatt.er and use in Graph visualization. #7262

Merged
merged 2 commits into from Feb 23, 2015

Conversation

diosmosis
Copy link
Member

As title. Since jqplot requires numeric values in JSON data, formatting from within graph visualizations should be done differently. Creating a new formatter and using it in the graph visualization fixes #7247.

Includes a modification to the Evolution graph UI test.

An alternative solution is to make rate metrics convert quotients to percents w/o the '%' string in compute, but I consider this to be an improper solution, as it makes the datatable values less usable (ie, users would have to undo the * 100 in order to apply the rate).

After merging, TasksTimetable will have to be updated since it uses Formatter (which is an interface in this pull request).

diosmosis added 2 commits February 21, 2015 04:53
…atter and use in Graph visualization since jqplot requires numeric values in JSON data.
…lugins. Move Numeric formatter to CoreVisualizations and do not mark w/ @api.
@mattab mattab added the not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. label Feb 23, 2015
mattab pushed a commit that referenced this pull request Feb 23, 2015
Fixes #7247, move default Formatter class to new Numeric metrics formatt.er and use in Graph visualization.
@mattab mattab merged commit 03f08f4 into master Feb 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants