         
         let data = PieChartData(xVals: xVals, dataSets: dataSet)
         
-        var pFormatter: NSNumberFormatter = NSNumberFormatter()
-            pFormatter.numberStyle = NSNumberFormatterStyle.PercentStyle
-            pFormatter.maximumFractionDigits = 1
-            pFormatter.multiplier = 1.0
-            pFormatter.percentSymbol = " %"
+        let pFormatter: NSNumberFormatter = NSNumberFormatter()
+        pFormatter.numberStyle = NSNumberFormatterStyle.PercentStyle
+        pFormatter.maximumFractionDigits = 1
+        pFormatter.multiplier = 1.0
+        pFormatter.percentSymbol = " %"
         data.setValueFormatter(pFormatter)
         
         data.setValueTextColor(UIColor.blackColor())

        
        
        var dataSet : [ChartDataSet] = []
        dataSet.append(PieChartDataSet(yVals: yVals1, label: "Results"))
//        dataSet.sliceSpace = 2.0
        
        // add a lot of colors
        
        var colors : [UIColor] = []
        
        colors.appendContentsOf(ChartColorTemplates.vordiplom())

    override func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell {
        let cell = tableView.dequeueReusableCellWithIdentifier("reuseIdentifierLabel", forIndexPath: indexPath)

        let chartView: PieChartView = cell.contentView.viewWithTag(99) as! PieChartView
        
        self.title = "Generated Charts";
        
