From 243911f51574d3b6478e9928e7093af2ccca3a9c Mon Sep 17 00:00:00 2001 From: liuxuan30 Date: Fri, 28 Aug 2015 11:17:05 +0800 Subject: [PATCH] seems we should always use _chartXMin = -0.5 _chartXMax = Double(_data.xVals.count) - 0.5 even there is no bubble data --- Charts/Classes/Charts/CombinedChartView.swift | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Charts/Classes/Charts/CombinedChartView.swift b/Charts/Classes/Charts/CombinedChartView.swift index 2eaef4fcf3..7baedba269 100644 --- a/Charts/Classes/Charts/CombinedChartView.swift +++ b/Charts/Classes/Charts/CombinedChartView.swift @@ -67,11 +67,6 @@ public class CombinedChartView: BarLineChartViewBase } } } - else - { - _chartXMin = 0.0 - _chartXMax = Double(_data.xValCount - 1) - } _deltaX = CGFloat(abs(_chartXMax - _chartXMin)) }