You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to use the basic ScatterChartDataSet initializer
let set = ScatterChartDataSet(values)
instead of
let set = ScatterChartDataSet(entries: values, label: "DS 1")
What did you expect to happen?
Nothing unusual
What happened instead?
The code crashed. The first program I tried it on crashed at fatalError("Datasets for ScatterChartRenderer must conform to IScatterChartDataSet") in ScatterChartRenderer.swift
, another program crashed with "Simultaneous accesses to 0x600000d386e8, but modification requires exclusive access.
Previous access (a modification) started at Charts`ChartData._leftAxisMax.modify + 61 (0x10499551d)." in ChartData.swift Line 205
Charts Environment
**Charts version/Branch/Commit Number:**3.3.0 Xcode version: Version 10.2.1 (10E1001)
**Swift version:**5 Platform(s) running Charts: ChartDemo-iOS-Swift macOS version running Xcode:
Change set2 in ScatterChartViewController to
let set2 = ScatterChartDataSet(values2)
set2.setScatterShape(.circle)
set2.scatterShapeHoleColor = ChartColorTemplates.colorful()[3]
// set2.scatterShapeHoleRadius = 3.5
set2.setColor(ChartColorTemplates.colorful()[1])
set2.scatterShapeSize = 8
The text was updated successfully, but these errors were encountered:
What did you do?
I tried to use the basic ScatterChartDataSet initializer
let set = ScatterChartDataSet(values)
instead of
let set = ScatterChartDataSet(entries: values, label: "DS 1")
What did you expect to happen?
Nothing unusual
What happened instead?
The code crashed. The first program I tried it on crashed at fatalError("Datasets for ScatterChartRenderer must conform to IScatterChartDataSet") in ScatterChartRenderer.swift
, another program crashed with "Simultaneous accesses to 0x600000d386e8, but modification requires exclusive access.
Previous access (a modification) started at Charts`ChartData._leftAxisMax.modify + 61 (0x10499551d)." in ChartData.swift Line 205
Charts Environment
**Charts version/Branch/Commit Number:**3.3.0
Xcode version: Version 10.2.1 (10E1001)
**Swift version:**5
Platform(s) running Charts: ChartDemo-iOS-Swift
macOS version running Xcode:
Change set2 in ScatterChartViewController to
let set2 = ScatterChartDataSet(values2)
set2.setScatterShape(.circle)
set2.scatterShapeHoleColor = ChartColorTemplates.colorful()[3]
// set2.scatterShapeHoleRadius = 3.5
set2.setColor(ChartColorTemplates.colorful()[1])
set2.scatterShapeSize = 8
The text was updated successfully, but these errors were encountered: