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

Any way to adjust the candle bar width? #3716

Closed
1 task
samzhiwei opened this issue Oct 26, 2018 · 1 comment
Closed
1 task

Any way to adjust the candle bar width? #3716

samzhiwei opened this issue Oct 26, 2018 · 1 comment

Comments

@samzhiwei
Copy link

samzhiwei commented Oct 26, 2018

ℹ Please fill out this template when filing an issue.
All lines beginning with an ℹ symbol instruct you with what info we expect. You can delete those lines once you've filled in the info.

Per our *CONTRIBUTING guidelines, we use GitHub for
bugs and feature requests, not general support. Other issues should be opened on Stack Overflow with the tag ios-charts.

Please remove this line and everything above it before submitting.

What did you do?

ℹ Please replace this with what you did.

What did you expect to happen?

ℹ Please replace this with what you expected to happen.

What happened instead?

ℹ Please replace this with of what happened instead.

Charts Environment

**Charts version/Branch/Commit Number:3.2.1
**Xcode version:10.0
**Swift version:4.2
Platform(s) running Charts:
macOS version running Xcode:

Setting like this:

        let set1 = CandleChartDataSet(values: data, label: "Data Test")
        set1.axisDependency = .right
        set1.setColor(UIColor(white: 80/255, alpha: 1))
        set1.drawIconsEnabled = false
        set1.shadowColorSameAsCandle = false
        set1.shadowWidth = 1.0
        set1.showCandleBar = true
        set1.decreasingColor = .fall_red
        set1.decreasingFilled = true
        set1.increasingColor = .rise_green
        set1.increasingFilled = true
        set1.neutralColor = .flat_navy
        let result = CandleChartData(dataSet: set1)
        candleView.data = result

img_8813

@trips2007
Copy link

I have the same problem, any ideas?

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