     override func draw(_ rect: CGRect) {
         super.draw(rect)
         print("Rect " + "\(rect)")
-        if rect.width > 375 {
-            renderRect = CGRect(x: rect.origin.x, y: rect.origin.y, width: 375.0, height: rect.height)
+        if rect.width > ScreenWidth {
+            renderRect = CGRect(x: rect.origin.x, y: rect.origin.y, width: ScreenWidth, height: rect.height)
         } else {
             renderRect = rect
         }


class HSKLine: HSBasicBrush {
    
    var crossLine: HSCrossLine?
    
    var kLineType: HSChartType = HSChartType.kLineForDay
    var theme: HSKLineTheme = HSKLineTheme()
    

            }
        }
    }
}


