     @IBInspectable open var barLineWidth: CGFloat = 1
     /// The colour of the bar outline
     @IBInspectable open var barLineColor: UIColor = UIColor.darkGray
+    /// Whether the bars should be drawn with rounded corners
+    @IBInspectable open var shouldRoundBarCorners: Bool = false
     
     // Fill Styles
     // ###########

                                       barWidth: barWidth,
                                       barColor: barColor,
                                       barLineWidth: barLineWidth,
                                       barLineColor: barLineColor)
            barLayer?.graphViewDrawingDelegate = self
            drawingView.layer.insertSublayer (barLayer!, below: lineLayer)
        }

            // Need to update the graph points so they are in their right positions for the new viewport.
            // Animate them into position if animation is enabled, but make sure to stop any current animations first.
            #if !TARGET_INTERFACE_BUILDER
                dequeueAllAnimations()
            #endif
            startAnimations()
            
