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

Fixed incorrect guard return statement when rendering limit lines #4563

Merged
merged 1 commit into from
Feb 10, 2021

Conversation

jjatie
Copy link
Collaborator

@jjatie jjatie commented Jan 26, 2021

Issue Link 🔗

#4560

@jjatie
Copy link
Collaborator Author

jjatie commented Jan 26, 2021

@liuxuan30 Can you please diagnose the issue with the test when you have time? Appears to be a problem in our script.

@awils18
Copy link

awils18 commented Feb 10, 2021

We are experiencing the same issue - I debugged locally and this is the issue. The other Axis renderers do contain the correct logic to continue if the label is empty or not enabled.

See - https://github.com/danielgindi/Charts/blob/dea1cc54d11a1eccea9ec98c98c41a00f42b9793/Source/Charts/Renderers/YAxisRendererHorizontalBarChart.swift#L254

@jjatie jjatie force-pushed the bugfix/continue-rendering-limit-lines branch from 26a1960 to 4cdbe25 Compare February 10, 2021 16:36
@jjatie jjatie merged commit 3d3e017 into master Feb 10, 2021
@jjatie jjatie deleted the bugfix/continue-rendering-limit-lines branch February 10, 2021 16:42
@liuxuan30
Copy link
Member

sorry not seeing this.. @jjatie shall we release a new version like another thread says, for SPM support? Or moe to merge and release?

abhiramvadlapatla pushed a commit to abhiramvadlapatla/Charts that referenced this pull request Dec 21, 2021
zebraciam added a commit to zebraciam/Charts that referenced this pull request Jul 6, 2022
* master:
  update changelog.
  Fixed incorrect guard return statement when rendering limit lines (ChartsOrg#4563)
  Fix bounds checks on binary search (ChartsOrg#4577)
  Added SPM build action (ChartsOrg#4576)
  Replace FBSnapshotTestCase with pointfree/swift-snapshot-testing (ChartsOrg#4574)
  Import swift algorithms (ChartsOrg#4497)
  ChartViewBase cleanup (ChartsOrg#4537)
  SPM GitHub Action (ChartsOrg#4553)
  Algorithm updates (ChartsOrg#3638)
  Added SPM Install section
  Update README.md
  Fix missing drawIconsEnabled parameter initialization in the copying constructor of the ChartBaseDataSet (ChartsOrg#4424)
  Resolve conflict for 4.0 branch and master (ChartsOrg#4456)
  Alternative for SPM dynamic linking (ChartsOrg#4478)
  3.6.0 changelog

# Conflicts:
#	Source/Charts/Renderers/LineChartRenderer.swift
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

Successfully merging this pull request may close these issues.

None yet

3 participants