Skip to content

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

@dancemonkey

Description

@dancemonkey

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions