             cell.value.text = newValue
         }
         
-        if let previousRow = rowByLabelValues[cell.value] {
-            labelValuesByRow[previousRow] = nil
-        }
-        labelValuesByRow[indexPath.row] = cell.value
-        rowByLabelValues[cell.value] = indexPath.row
+        valuesByRow[indexPath.row] = newValue
     }
 }
    
    func setNewValueAnimatedIfChanged(cell: HBChartDetailCell, indexPath: NSIndexPath, newValue: NSString) {
        var animated = false
        if let valueLabel = labelValuesByRow[indexPath.row] {
            if valueLabel.text != newValue {
                animated = true
                UIView.animateWithDuration(1.0, animations: {
                    valueLabel.alpha = 0
                }) { (Bool) -> Void in
                    cell.value.text = newValue
                    UIView.animateWithDuration(1.0, animations: {
                        valueLabel.alpha = 1
                    })
                }
            }

    var values: [AnyObject]?
    var details = [ChartDetailValue]()
    
    var valuesByRow = [Int: String]()

    var color: UIColor {
        set {
