     }
     
     // storyboardで生成する時
-    required init?(coder aDecoder: NSCoder) {
+    required public init?(coder aDecoder: NSCoder) {
         super.init(coder: aDecoder)
     }
     
     
     // MARK: - Override
     
-    override var contentOffset: CGPoint {
+    override public var contentOffset: CGPoint {
         didSet {
             if !comparisonValueIsHidden {
                 // ComparisonValueLabelをスクロールとともに追従させる

    
    // MARK: Set Gragh Customize Options
    
    func setComparisonValueLabel(backgroundColor: UIColor) {
        layout.comparisonLabelBackgroundColor = backgroundColor
    }
    
    func setComparisonValueLine(color: UIColor) {
        layout.comparisonLineColor = color
    }
    
    // BarのLayoutProportionはGraghViewから変更する
    func setComponentArea(width: CGFloat) {
        componentLayout.componentAreaWidth = width
    }
    
    func setBarAreaHeight(rate: CGFloat) {
        componentLayout.barAreaHeightRate = rate
    }
    
    func setMaxGraghValue(rate: CGFloat) {
        componentLayout.maxGraghValueRate = rate
    }
    
    func setBarWidth(rate: CGFloat) {
        componentLayout.barWidthRate = rate
    }
    
    func setBar(color: UIColor) {
        componentLayout.barColor = color
    }
    
    func setLabel(backgroundcolor: UIColor) {
        componentLayout.labelBackgroundColor = backgroundcolor
    }
    
    func setGragh(backgroundcolor: UIColor) {
        componentLayout.GraghBackgroundColor = backgroundcolor
    }
    
    func setRoundSize(rate: CGFloat) {
        componentLayout.roundSizeRate = rate
    }
    
    func setRound(color: UIColor) {
        componentLayout.roundColor = color
    }
    
    func setRoundIsHidden(bool: Bool) {
        componentLayout.onlyPathLine = bool
    }
    
    func setValueLabelIsHidden(bool: Bool) {
        componentLayout.valueLabelIsHidden = bool
    }
    


// MARK: - Enumeration

public enum GraghStyle {
    case bar, round, jaggy
}

public enum GraghViewDateStyle {
    case year, month, day, hour, minute, second
}

public enum GraghViewDataType {
    case normal, yen
}

public enum GraghViewContetOffset {
    case minimumDate, maximizeDate
}

public enum GraghViewDataLabelType {
    case `default`, date
}


// MARK: - GraghView Class

public class GraghView: UIScrollView {
    
    // MARK: - Private properties
    
