diff --git a/ChartsDemo/Supporting Files/Info.plist b/ChartsDemo/Supporting Files/Info.plist
index 271c7988a2..6e4887eb4c 100644
--- a/ChartsDemo/Supporting Files/Info.plist
+++ b/ChartsDemo/Supporting Files/Info.plist
@@ -22,6 +22,8 @@
1
LSRequiresIPhoneOS
+ NSPhotoLibraryAddUsageDescription
+ This app requires access to the photo library to store shots of charts there.
NSPhotoLibraryUsageDescription
This app requires access to the photo library to store shots of charts there.
UILaunchStoryboardName
diff --git a/Source/Charts/Jobs/ZoomViewJob.swift b/Source/Charts/Jobs/ZoomViewJob.swift
index 7bd805c425..bdc7e32020 100644
--- a/Source/Charts/Jobs/ZoomViewJob.swift
+++ b/Source/Charts/Jobs/ZoomViewJob.swift
@@ -60,8 +60,8 @@ open class ZoomViewJob: ViewPortJob
let xValsInView = (view as! BarLineChartViewBase).xAxis.axisRange / Double(viewPortHandler.scaleX)
var pt = CGPoint(
- x: CGFloat(xValue - xValsInView) / 2.0,
- y: CGFloat(yValue + yValsInView) / 2.0
+ x: CGFloat(xValue - xValsInView / 2.0),
+ y: CGFloat(yValue + yValsInView / 2.0)
)
transformer.pointValueToPixel(&pt)