             addSeries(s)
         }
     }
+
+    /**
+    Remove the series at the specified index.
+    */
+    func removeSeriesAtIndex(index: Int) {
+        series.removeAtIndex(index)
+    }
+    
+    /**
+    Remove all the series.
+    */
+    func removeSeries() {
+        series = []
+    }
     
     /**
     Returns the value for the specified series at the given index

                
                CGContextMoveToPoint(context, 0, y)
                CGContextAddLineToPoint(context, self.bounds.width, y)
                if yLabels[i] != 0 {
                    // Horizontal grid for 0 is not dashed
                    CGContextSetLineDash(context, 0, [5], 1)
                }

            
            let label = UILabel(frame: CGRect(x: padding, y: y, width: 0, height: 0))
            label.font = labelFont
            label.text = yLabelsFormatter(i, labels[i])
            label.textColor = labelColor
            label.sizeToFit()
            
