danielgindi/ChartsRealm

Correct way to persist data with ChartDataEntry

Closed this issue · 1 comments

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?

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.