             switch ele {
             case let .name(name):
                 self.name = name
+            case let .type(type):
+                self.type = type
             case let .valueIndex(valueIndex):
                 self.valueIndex = valueIndex
             case let .valueDim(valueDim):

extension SECMarkPoint.Data : SECMappable {
    public func mapping(map: SECMap) {
        map["name"] = name
        map["valueIndex"] = valueIndex
        map["valueDim"] = valueDim
        map["coord"] = coord

public struct SECMarkPoint : SECSymbolized, SECAnimatable {
    
    public struct Data : SECSymbolized {
        public enum Type : String, SECJsonable {
            case min = "min"
            case max = "max"
            case average = "average"
            
            public var jsonString: String {
                return "\"\(self.rawValue)\""
            }
        }
        public var name: String?
        public var type: Type?
        public var valueIndex: UInt8?
        public var valueDim: String?
        public var coord: [SECJsonable]?
