 //  Copyright © 2017 com.pluto-y. All rights reserved.
 //
 
-import UIKit
-
-public final class CustomSerie: Serie {
+public final class CustomSerie: Serie, Zable, Animatable {
     
     public var type: SerieType {
         return .custom

        map["coordinateSystem"] = coordinateSystem
        map["xAxisIndex"] = xAxisIndex
        map["yAxisIndex"] = yAxisIndex
        map["cursor"] = cursor
        map["draggable"] = draggable
        map["progressive"] = progressive
        map["width"] = width
        map["height"] = height
        map["children"] = children
        map["onclick"] = onclick
        map["onmouseover"] = onmouseover
        map["onmouseout"] = onmouseout
        map["onmousemove"] = onmousemove
        map["onmousewheel"] = onmousewheel
        map["onmousedown"] = onmousedown
        map["onmouseup"] = onmouseup
        map["ondrag"] = ondrag
        map["ondragstart"] = ondragstart
        map["ondragend"] = ondragend
        map["ondragenter"] = ondragenter
        map["ondragleave"] = ondragleave
        map["ondragover"] = ondragover
        map["ondrop"] = ondrop
    }
}

                self.xAxisIndex = xAxisIndex
            case let .yAxisIndex(yAxisIndex):
                self.yAxisIndex = yAxisIndex
            case let .polarIndex(polarIndex):
                self.polarIndex = polarIndex
            case let .geoIndex(geoIndex):
                self.geoIndex = geoIndex
            case let .calendarIndex(calendarIndex):
                self.calendarIndex = calendarIndex
            case let .renderItem(renderItem):
                self.renderItem = renderItem
            case let .itemStyle(itemStyle):
                self.itemStyle = itemStyle
            case let .dimensions(dimensions):
                self.dimensions = dimensions
            case let .encode(encode):
                self.encode = encode
            case let .data(data):
                self.data = data
            case let .zlevel(zlevel):
                self.zlevel = zlevel
            case let .z(z):
                self.z = z
            case let .silent(silent):
                self.silent = silent
            case let .animation(animation):
                self.animation = animation
            case let .animationThreshold(animationThreshold):
                self.animationThreshold = animationThreshold
            case let .animationDuration(animationDuration):
                self.animationDuration = animationDuration
            case let .animationEasing(animationEasing):
                self.animationEasing = animationEasing
            case let .animationDelay(animationDelay):
                self.animationDelay = animationDelay
            case let .animationDurationUpdate(animationDurationUpdate):
                self.animationDurationUpdate = animationDurationUpdate
            case let .animationEasingUpdate(animationEasingUpdate):
                self.animationEasingUpdate = animationEasingUpdate
            case let .animationDelayUpdate(animationDelayUpdate):
                self.animationDelayUpdate = animationDelayUpdate
            case let .tooltip(tooltip):
                self.tooltip = tooltip
            }
        }
    }
