Off the top of my head it sounds like the problem is happening because you are coloring the display rather than marking the value as being colorable. As in there may be 1000 items but only 20 bars. You only want to color the bar that contains the item you want to have colored and uncolor the other bars.
If you set the default bar color it should ensure that each bar is uncolored until you ask it to color it based on the item.
|