         let borderWidth: CGFloat
         let highlightedBorderWidth: CGFloat
         let majorGridlineColor: NSColor
-        let majorGridlineWidth: CGFloat
+        let majorGridlineParams: LineParams
         let minorGridlineColor: NSColor
-        let minorGridlineWidth: CGFloat
+        let minorGridlineParams: LineParams
         let scaleFont: NSFont
         let legendFont: NSFont
         let legendColor: NSColor
         let legendPadding: CGFloat
-        let lineWidth: CGFloat
+        let lineParams: LineParams
         let shadowRadius: CGFloat
         let xPadding: CGFloat
 

        for (_, color, path) in curves {
            color.setStroke()
            let path = (chartTransform as NSAffineTransform).transform(path)
            path.lineWidth = p.lineWidth
            path.lineCapStyle = .roundLineCapStyle
            path.lineJoinStyle = .roundLineJoinStyle
            path.stroke()
        }
        if !presentationMode {

    }

    struct ViewParams {
        struct LineParams {
            let lineWidth: CGFloat
            let dash: [CGFloat]
            let phase: CGFloat

            init(lineWidth: CGFloat, dash: [CGFloat] = [], phase: CGFloat = 0) {
                self.lineWidth = lineWidth
                self.dash = dash
                self.phase = phase
            }

            func apply(on path: NSBezierPath) {
                path.lineWidth = lineWidth
                path.setLineDash(dash, count: dash.count, phase: phase)
            }
        }

        let backgroundColor: NSColor
        let titleFont: NSFont
        let titleColor: NSColor
