Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to render radar-chart with live data and dynamic array entries? #4220

Closed
PGandhi30 opened this issue Nov 19, 2019 · 1 comment
Closed

Comments

@PGandhi30
Copy link

PGandhi30 commented Nov 19, 2019

What did you do?

chartView is RadarChartView Object

chartView.clear()
chartView.clearValues()
let set1 = RadarChartDataSet(entries: arrRadarProduct, label: "XXX")
let data = RadarChartData(dataSets: [set1])
data.notifyDataChanged()
chartView.data = data
chartView.notifyDataSetChanged()

refresh X Values on the refresh button sometimes it 6 value or 8 value of X at that time accessibilityXLabels vale not change.

What did you expect to happen?

accessibilityXLabels value change on every refresh.

What happened instead?

library crash on refresh.
let accessibilityAxisLabelValueTuples = zip(accessibilityXLabels, accessibilityEntryValues).map { ($0, $1.0, $1.1) }.sorted { $0.1 > $1.1 }

Charts Environment

Xcode version: 11.2.1
Swift version: 5.1

@danielgindi @liuxuan30

@PGandhi30 PGandhi30 changed the title How to render radarchart? How to render radar-chart with live data and dynamic array entries? Nov 19, 2019
@liuxuan30
Copy link
Member

search old issues, especially tagged with 'Good Example'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants