i need to set background color of hosting view in core plot to clear color.can anyone help me with that?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The Core Plot hosting view is a subclass of
UIView. It should default to a clearbackgroundColor. See the UIView docs.You can also set a fill on the graph using your image instead of placing it in the background.
This is just one example.
CPTImagealso has several other initialization methods.