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
ℹ NSformatter onlu accespts integer/double values but not string here is my code which i want to modify to show like i want .
for i in 0..<PayoutChart.count {
let value = ChartDataEntry(x: Double(i), y: PayoutChart[i])
lineChartEntry.append(value)
}
// here we add it to the data set
Note :- I am doing it for line chart in ios charts
let line1 = LineChartDataSet(values: lineChartEntry, label: "Payouts") //Here we convert lineChartEntry to a LineChartDataSet
line1.mode = .cubicBezier
ℹ I want to show the values on y axis like 1 min, 2 min , 3 min and so on ..
What happened instead?
ℹ it is showing the values like 1,2,3 and i want the string "min" as a suffix in y-axis values
Charts Environment
Charts version/Branch/Commit Number: 3.2 Xcode version: 10 Swift version: 4.2 Platform(s) running Charts: macOS version running Xcode: 10.13.6
The text was updated successfully, but these errors were encountered:
What did you do?
ℹ NSformatter onlu accespts integer/double values but not string here is my code which i want to modify to show like i want .
for i in 0..<PayoutChart.count {
let value = ChartDataEntry(x: Double(i), y: PayoutChart[i])
lineChartEntry.append(value)
}
// here we add it to the data set
Note :- I am doing it for line chart in ios charts
let line1 = LineChartDataSet(values: lineChartEntry, label: "Payouts") //Here we convert lineChartEntry to a LineChartDataSet
line1.mode = .cubicBezier
ℹ I want to show the values on y axis like 1 min, 2 min , 3 min and so on ..
What happened instead?
ℹ it is showing the values like 1,2,3 and i want the string "min" as a suffix in y-axis values
Charts Environment
Charts version/Branch/Commit Number: 3.2
Xcode version: 10
Swift version: 4.2
Platform(s) running Charts:
macOS version running Xcode: 10.13.6
The text was updated successfully, but these errors were encountered: