We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When I call setChartData() many times, the shape of graph becomes smaller and smaller in RadarChartGraph.
var entries = [RadarChartDataEntry(value: 90), RadarChartDataEntry(value: 90), RadarChartDataEntry(value: 0), RadarChartDataEntry(value: 90), ] func setChartData() { let set = RadarChartDataSet(values: entries, label: "Brain") set.setColor(UIColor(red: 121/255, green: 162/255, blue: 175/255, alpha: 1)) set.fillColor = UIColor(red: 121/255, green: 162/255, blue: 175/255, alpha: 1) set.drawFilledEnabled = true set.fillAlpha = 0.7 set.lineWidth = 2 set.drawHighlightCircleEnabled = true set.setDrawHighlightIndicators(false) let data = RadarChartData(dataSet: set) data.setValueFont(.systemFont(ofSize: 8, weight: .light)) data.setDrawValues(false) data.setValueTextColor(.white) chartView.data = data }
Call setChartData(), 1 times.
Call setChartData(), 5 times.
Call setChartData(), 10 times.
The text was updated successfully, but these errors were encountered:
see #2207
Sorry, something went wrong.
Thank you. I commented out xAxis.axisMaximum and yAxis.axisMaximum. The problem was solved successfully.
let xAxis = chartView.xAxis xAxis.labelFont = .systemFont(ofSize: 9, weight: .light) xAxis.xOffset = 0 xAxis.yOffset = 0 xAxis.axisMinimum = 0 //xAxis.axisMaximum = 100 xAxis.valueFormatter = self xAxis.labelTextColor = .white let yAxis = chartView.yAxis yAxis.labelFont = .systemFont(ofSize: 9, weight: .light) yAxis.labelCount = 5 yAxis.axisMinimum = 0 //yAxis.axisMaximum = 80 yAxis.drawLabelsEnabled = false
Thank you it is fine for me
No branches or pull requests
When I call setChartData() many times, the shape of graph becomes smaller and smaller in RadarChartGraph.
Call setChartData(), 1 times.
Call setChartData(), 5 times.
Call setChartData(), 10 times.
The text was updated successfully, but these errors were encountered: