i am using core plot to draw a bar graph, i want show two color in one single bar, how to do that? like Y value is green color from 0 to 15, and from 15 to 25 is red color, can somebody help me?
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.
Use two bar plots to make a stacked bar plot. Have the first one show the lower part of the bar (0 to 15). Set
barBasesVaryto YES on the second plot and use it to show the rest.See the Vertical Bar Chart example in the Plot Gallery app for sample code.