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
I have this code:
**pieChartView.delegate = self pieChartView.legend.enabled = false pieChartView.drawEntryLabelsEnabled = false pieChartView.drawCenterTextEnabled = true pieChartView.holeRadiusPercent = 0.95 pieChartView.drawSlicesUnderHoleEnabled = false pieChartView.highlightPerTapEnabled = false pieChartView.chartDescription = nil
pieChartView.legend.horizontalAlignment = .center pieChartView.legend.verticalAlignment = .bottom pieChartView.legend.orientation = .vertical pieChartView.legend.drawInside = false pieChartView.legend.yEntrySpace = 10.0**
it always clip the last the legend, irregardless of how many entries in the data set.
I need to put this line to move it up close to the pie chart: pieChartView.legend.yOffset = 10.0
If I set to -10.0, it will clip some more. pieChartView.legend.yOffset = -10.0
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I have this code:
**pieChartView.delegate = self
pieChartView.legend.enabled = false
pieChartView.drawEntryLabelsEnabled = false
pieChartView.drawCenterTextEnabled = true
pieChartView.holeRadiusPercent = 0.95
pieChartView.drawSlicesUnderHoleEnabled = false
pieChartView.highlightPerTapEnabled = false
pieChartView.chartDescription = nil
it always clip the last the legend, irregardless of how many entries in the data set.
![screen shot 2017-06-23 at 5 54 52 pm](https://user-images.githubusercontent.com/15226261/27478001-9683ea10-5840-11e7-8cc5-535e0592524c.png)
I need to put this line to move it up close to the pie chart:
pieChartView.legend.yOffset = 10.0
If I set to -10.0, it will clip some more.
pieChartView.legend.yOffset = -10.0
The text was updated successfully, but these errors were encountered: