Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ open class BarLineScatterCandleBubbleRenderer: NSObject, DataRenderer
{
guard let data = dataProvider?.data else { return false }
let count = CGFloat(dataProvider?.maxVisibleCount ?? 0) * viewPortHandler.scaleX
guard count < CGFloat.infinity, !count.isNaN else { return false }
guard count < CGFloat.infinity, !count.isNaN, count < CGFloat(Int.max) else { return false }
return data.entryCount < Int(count)
}

Expand Down