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

How to remove colors below bar chart #4334

Closed
1 task
IniongunIsaac opened this issue Apr 8, 2020 · 2 comments
Closed
1 task

How to remove colors below bar chart #4334

IniongunIsaac opened this issue Apr 8, 2020 · 2 comments

Comments

@IniongunIsaac
Copy link

ℹ 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?

Rendered a BarChart

What did you expect to happen?

Looking for a way to remove the colors below the bar chart

What happened instead?

Haven't found a way to perform the aforementioned customization
Charts

Charts Environment

Charts version/Branch/Commit Number:
Xcode version: 11.2
Swift version: 5.1
Platform(s) running Charts: Cocoapods
macOS version running Xcode: 10.15

Demo Project

@yas375
Copy link
Contributor

yas375 commented Apr 10, 2020

Objective-C:

[self.chartView.legend setCustomWithEntries:@[]];

Swift:

chartView.legend.setCustom(entries: [])

image

@IniongunIsaac
Copy link
Author

Thank you @yas375, your answer solved the problem.

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