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 data represented incorrectly on server data update #60

Open
aaron-nerox opened this issue Dec 11, 2022 · 1 comment
Open

Bar data represented incorrectly on server data update #60

aaron-nerox opened this issue Dec 11, 2022 · 1 comment

Comments

@aaron-nerox
Copy link

Hello there, i discovered a bug similar to the one in the line data where the recomposition of the bar chart will display fresh data incorrectly. Here is my data displayed monthly before i update it using a filter to show data yearly :

Screenshot_20221211_231409_Pspot

listOf(
     BarData(xValue=1, yValue=0.0), 
     BarData(xValue=2, yValue=0.0), 
     BarData(xValue=3, yValue=0.0), 
     BarData(xValue=4, yValue=0.0), 
     BarData(xValue=5, yValue=0.0), 
     BarData(xValue=6, yValue=0.0), 
     BarData(xValue=7, yValue=120.0), 
     BarData(xValue=8, yValue=0.0), 
     BarData(xValue=9, yValue=120.0), 
     BarData(xValue=10, yValue=0.0), 
     BarData(xValue=11, yValue=240.0), 
     BarData(xValue=12, yValue=0.0), 
     BarData(xValue=13, yValue=0.0), 
     BarData(xValue=14, yValue=0.0), 
     BarData(xValue=15, yValue=0.0), 
     BarData(xValue=16, yValue=0.0), 
     BarData(xValue=17, yValue=0.0), 
     BarData(xValue=18, yValue=0.0), 
     BarData(xValue=19, yValue=0.0), 
     BarData(xValue=20, yValue=0.0), 
     BarData(xValue=21, yValue=240.0), 
     BarData(xValue=22, yValue=0.0), 
     BarData(xValue=23, yValue=0.0), 
     BarData(xValue=24, yValue=0.0), 
     BarData(xValue=25, yValue=480.0), 
     BarData(xValue=26, yValue=0.0), 
     BarData(xValue=27, yValue=0.0), 
     BarData(xValue=28, yValue=0.0), 
     BarData(xValue=29, yValue=0.0), 
     BarData(xValue=30, yValue=0.0), 
     BarData(xValue=31, yValue=0.0)
)

And this is my data after updating it to display yearly :
Screenshot_20221211_231420_Pspot

listOf(
   BarData(xValue=1, yValue=0.0), 
   BarData(xValue=2, yValue=0.0), 
   BarData(xValue=3, yValue=0.0), 
   BarData(xValue=4, yValue=0.0), 
   BarData(xValue=5, yValue=0.0), 
   BarData(xValue=6, yValue=0.0), 
   BarData(xValue=7, yValue=0.0), 
   BarData(xValue=8, yValue=0.0), 
   BarData(xValue=9, yValue=0.0), 
   BarData(xValue=10, yValue=600.0), 
   BarData(xValue=11, yValue=120.0), 
   BarData(xValue=12, yValue=1200.0)
)

I would love to know if this is a usage error from my part or is it a bug in the library itself

@CW12
Copy link

CW12 commented Feb 2, 2023

I believe it's a bug (or I'm using it wrong too!), but seems identical to the line chart bug that has been fixed

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