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

Unable to set transparent color or clear color to the graphs background. #3414

Closed
1 task
muddanaraj opened this issue Apr 23, 2018 · 1 comment
Closed
1 task

Comments

@muddanaraj
Copy link

Unable to set background color to clear color for the graphs.

ℹ chartview.backgroundcolor = uicolor.blue , the color is changed to blue.

What did you expect to happen?

ℹ Tried changing the background color of the spritekit view but no use.

What happened instead?

ℹ chartview.backgroundcolor = uicolor.clear , the color is not changed to transparent.

Charts Environment

Charts version/Branch/Commit Number:
**Xcode version:**9.2
**Swift version:**4.0
**Platform(s) running Charts:**iOS
macOS version running Xcode:

Demo Project

ℹ Please link to or upload a project we can download that reproduces the issue.

@liuxuan30
Copy link
Member

liuxuan30 commented Apr 25, 2018

ask on stack overflow unless you sure it's a bug.
but currently,

    internal func initialize()
    {
        #if os(iOS)
            self.backgroundColor = NSUIColor.clear
        #endif

it's already clear color.

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