Skip to content

Add corner radius in Barchart#5185

Closed
Khanak1521 wants to merge 4 commits intoChartsOrg:masterfrom
Khanak1521:master
Closed

Add corner radius in Barchart#5185
Khanak1521 wants to merge 4 commits intoChartsOrg:masterfrom
Khanak1521:master

Conversation

@Khanak1521
Copy link
Copy Markdown

Issue Link 🔗

Goals ⚽

Implementation Details 🚧

Testing Details 🔍

@pelodi
Copy link
Copy Markdown

pelodi commented Aug 30, 2024

when this feature will be added and merged?

@liuxuan30
Copy link
Copy Markdown
Member

looks unlikely, the implementation of this will has an issue: when the bar is too thin, it will look like an Oval rather than a bar.

s.tvos.deployment_target = "12.0"
s.osx.deployment_target = "10.13"
s.source = { :git => "https://github.com/danielgindi/Charts.git", :tag => "#{s.version}" }
s.source = { :git => "https://github.com/Khanak1521/Charts.git", :tag => "#{s.version}" }
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we need to undo this git url change


context.fill(barRect)
let rectCorners: UIRectCorner = [.topLeft, .topRight]
let bezierPath = UIBezierPath(roundedRect: barRect, byRoundingCorners: rectCorners, cornerRadii: CGSize(width: self.barChartCornerRedius, height: self.barChartCornerRedius)) //(roundedRect: barRect, byRoundingCorners: rectCorners, cornerRadi: 5)
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need the commented code ?

@marbelsy
Copy link
Copy Markdown

What is the state of this now?

@ankushkushwaha
Copy link
Copy Markdown

What is the state of this now?

Seems author (@Khanak1521) of this PR is not actively looking into this.

@pmairoldi pmairoldi self-assigned this Mar 7, 2026
@pmairoldi
Copy link
Copy Markdown
Collaborator

Currently already implemented here
Closing in favour of #5250 for full platform support

@pmairoldi pmairoldi closed this Mar 7, 2026
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.

6 participants