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
Hello,
I want noDataText label shown when there is no element to be shown, so I added
pieChartView.noDataText = "No data available"
in ViewDidLoad and also in ViewWillAppear
But it isn't working, any help?
The text was updated successfully, but these errors were encountered:
make sure you meet:
if _data === nil && noDataText.characters.count > 0 { context.saveGState() defer { context.restoreGState() } ChartUtils.drawMultilineText( context: context, text: noDataText, point: CGPoint(x: frame.width / 2.0, y: frame.height / 2.0), attributes: [NSAttributedStringKey.font: noDataFont, NSAttributedStringKey.foregroundColor: noDataTextColor], constrainedToSize: self.bounds.size, anchor: CGPoint(x: 0.5, y: 0.5), angleRadians: 0.0) return }
Sorry, something went wrong.
Okay thanks.
No branches or pull requests
Hello,
I want noDataText label shown when there is no element to be shown, so I added
pieChartView.noDataText = "No data available"
in ViewDidLoad and also in ViewWillAppear
But it isn't working, any help?
The text was updated successfully, but these errors were encountered: