diff --git a/Source/Charts/Data/Implementations/Standard/BarChartDataSet.swift b/Source/Charts/Data/Implementations/Standard/BarChartDataSet.swift index 2478aeccf8..b44def0154 100644 --- a/Source/Charts/Data/Implementations/Standard/BarChartDataSet.swift +++ b/Source/Charts/Data/Implementations/Standard/BarChartDataSet.swift @@ -123,7 +123,7 @@ open class BarChartDataSet: BarLineScatterCandleBubbleChartDataSet, IBarChartDat /// `true` if this DataSet is stacked (stacksize > 1) or not. open var isStacked: Bool { - return _stackSize > 1 ? true : false + return _stackSize > 1 } /// The overall entry count, including counting each stack-value individually