Open Schabaani opened 6 years ago
Hi, have you tried calling setViewPortOffsets
as last thing you do? In general it should be done right after you set new data, but also any calls to notifyDataChanged()
might override your offsets.
Hi, I have tried setViewPortOffsets
as last line. However, it doesn't work and I don't use notifyDataChanged()
you called horizontalBarChartView.data?.notifyDataChanged()
, but did you call horizontalBarChartView.notifyDataSetChanged()
?
I want to create offset for horizontalBarChart, However, it does not work.
I created horizontalBarChartView programmatically