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
For other benefit. Here are the examples. @danielgindi Hope below example is right and I can see working now. Please advise.
Line Chart
let format = NumberFormatter()
format.numberStyle = .none
let formatter = DefaultValueFormatter(formatter: format)
lineChartSpeed.leftAxis.valueFormatter = (formatter as? IAxisValueFormatter)
Pie Chart
let format = NumberFormatter()
format.numberStyle = .none
let formatter = DefaultValueFormatter(formatter: format)
pieChartData.setValueFormatter(formatter)
I could not figure out from example how the new Chart 3.0 API works for valueFormatter. Below is previous version of snippet. Please advise.
let formatter = NumberFormatter()
formatter.numberStyle = .none
lineChartAltitude.leftAxis.valueFormatter = formatter
The text was updated successfully, but these errors were encountered: