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

Bar chart when sum=0 #42

Closed
mjjstorey opened this issue Dec 21, 2012 · 4 comments
Closed

Bar chart when sum=0 #42

mjjstorey opened this issue Dec 21, 2012 · 4 comments
Milestone

Comments

@mjjstorey
Copy link

I found that if there are occasions where something costs 0 in an in-app purchase, it does not display correctly in a bar chart as the 'Sum' seems to not allow 0 values.

Countly_bug_02

@osoner
Copy link
Member

osoner commented Dec 21, 2012

Are the table-row - bar-chart pairs correct in the picture you posted? I mean the bar chart for A segmentation has a sum of 750, but the table row shows 0.

I think the problem is the count being very small compared to the sum so when assigned a point between 0-100 on the graph it is just not possible to perceive this.

I'm working on the switch you suggested earlier to toggle count and sum on the graph so it should help.

@mjjstorey
Copy link
Author

Hi,

yes, these are correct in their order. I will put together a post url for you to test yourself if you would like me to.

It seems to be that if a sum is 0 it is not displayed at all so:

A = 100
B = 0
C = 150

would display in the graph as:
A = 100
B = 150
C = null

@mjjstorey
Copy link
Author

https://cloud.count.ly/i?app_key=YOUR_APP_KEY&device_id=BBB&events=[{"key":"Virtual Purchase","count":1,"sum":750,"segmentation":{"Type":"A"}},{"key":"Virtual Purchase","count":1,"sum":750,"segmentation":{"Type":"B"}},{"key":"Virtual Purchase","count":1,"sum":0,"segmentation":{"Type":"C"}},{"key":"Virtual Purchase","count":1,"sum":0,"segmentation":{"Type":"C"}}]

@osoner
Copy link
Member

osoner commented Dec 24, 2012

Fixed in v12.12 3fb25dd.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants