 
      - returns: The new Chart
      */
-    public init(view: ChartBaseView, layers: [ChartLayer]) {
-
+    public init(view: ChartView, layers: [ChartLayer]) {
+        
         self.layers = layers
         
         self.view = view

    func sharedInit() {
        self.backgroundColor = UIColor.clearColor()
    }

    override public func drawRect(rect: CGRect) {
        self.chart?.drawRect(rect)
    }
}
public class Chart {

    /// The view that the chart is drawn in
    public let view: ChartView
    
    /// The layers of the chart that are drawn in the view
    private let layers: [ChartLayer]

