             layer.addSublayer(shapeLayer)
             layerStore.append(shapeLayer)
         }
-
     }
 
     func handleTouchEvents(_ touches: Set<UITouch>, event: UIEvent!) {

    // MARK: - Scaling

    fileprivate func getMinMax() -> (min: ChartPoint, max: ChartPoint) {

        // Start with user-provided values

        var min = (x: minX, y: minY)

                // End of the line
                segments.append(segment)
            }
        }
        return segments
    }
