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

Correct way to persist data with ChartDataEntry #2

Closed
renjithn opened this issue Jun 8, 2017 · 1 comment
Closed

Correct way to persist data with ChartDataEntry #2

renjithn opened this issue Jun 8, 2017 · 1 comment

Comments

@renjithn
Copy link

renjithn commented Jun 8, 2017

Thanks for the great library. This is not an issue but some help would be appreciated. The Realm helper classes for eg. RealmBarDataSet now seems only map the xValueFields and yValueFields of the element into ChartDataEntry. How can one map some custom data to the useful properties like .data of ChartDataEntry class?

@pmairoldi
Copy link
Collaborator

You can checkout RealmBubbleDataSet which exposes an extra field for the bubble size. You could apply the same idea to what you want to do.

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

3 participants