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

Updated XCode, now bar chart incorrectly loads data and bars are invisible #235

Open
dancemonkey opened this issue Nov 15, 2017 · 1 comment

Comments

@dancemonkey
Copy link

No changes to my code, but after XCode update the bar chart behaves strangely.

PRIOR to Update

  • Bar chart loaded with one week's worth of data on viewDidLoad.

AFTER Update

  • Bar chart loads one week minus a day (six bars instead of 7)
  • Bars are invisible, touching on chart does not show white highlight but does register touch and drag (I have labels updating with data points, similar to your demo app on weather).
  • Switching to month and back to week via a segmented controller on my VC correctly loads bars and 7 days of data, all views are visible.

reloadData() is called at launch, and all delegate methods are returning correct values (numberOfBars returns 7, heightForBar returns data for the "missing" 7th day), but still there only 6 invisible bars in the chartView.

@srajsushmitha
Copy link

srajsushmitha commented Feb 20, 2018

Similar issue. Bar chart displays max values even when the data is 0. Checked data in heightforbar, it's 0.0
Could anybody help out in this

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