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

Stacked bar graph for percentage always shown 100% #240

Open
Nehasolanki30 opened this issue May 26, 2021 · 1 comment
Open

Stacked bar graph for percentage always shown 100% #240

Nehasolanki30 opened this issue May 26, 2021 · 1 comment

Comments

@Nehasolanki30
Copy link

Stacked bar graph for percentage is always shown 100% even if total count is less than 100

Screenshot from 2021-05-26 15-36-34

values for march 25 to 26

[{
product.name: "apps",
result: 34
}, {
product.name: "books",
result: 15
}, {
product.name: "games",
result: 18
}, {
product.name: "sounds",
result: 14
}]

@maciejrybaniec
Copy link
Contributor

maciejrybaniec commented May 27, 2021

Hi @Nehasolanki30,

Could You please provide more details about the issue - and what is expected behavior from Your point of view ?

Based on my knowledge for stacked bar chart - for each interval the sum of data series values equals 100%.
So for data presented below we've got value -> 81 which is a 100% for interval connected with that data.

[{
  product.name: "apps",
  result: 34
}, {
  product.name: "books",
  result: 15
}, {
  product.name: "games",
  result: 18
}, {
  product.name: "sounds",
  result: 14
}]

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