Jawbone / JBChartView

iOS-based charting library for both line and bar graphs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot change bar colors after initial load

erikackermann opened this issue · comments

  1. Setup a chart and implement -barChartView:colorForBarViewAtIndex: to return a UIColor for each bar.
  2. Change this color to a different UIColor and call reloadData on the chart.
  3. Bar colors are unchanged; still show color set in step 1.

The color does not update. It appears that the changes added with reloadDataAnimate: have broken this functionality and initial colors set for each bar no longer change when table reloads.

Ah good catch. Sorry about that. I'll look into this later today.

Fixed via commit: 0b603cd

Tag: v.3.0.8

I reverted my previous reloadDataAnimated: changes that were causing the issue. I'd rather deal with performance issues with huge datasets than it not work altogether. I'll continue to investigate the non-animated performance issues .