SwiftCharts icon indicating copy to clipboard operation
SwiftCharts copied to clipboard

Divide by zero error -- `modelToScreenRatio`

Open jeromeDefReputation opened this issue 6 years ago • 0 comments

modelToScreenRatio in SwiftCharts/Axis/ChartAxis.Swift can return a CGFloat(length) == 0 which will cause a divide by zero fatal error.

jeromeDefReputation avatar Mar 29 '19 21:03 jeromeDefReputation