greg.valainis@pa-tech.com Posted January 3, 2014 Report Share Posted January 3, 2014 I just changed the colors of the individual pie slices using the following code: chart1.getPoints().getItem(0,0).setColor("#9bcb3e"); chart1.getPoints().getItem(0,1).setColor("#fbd91d"); chart1.getPoints().getItem(0,2).setColor("#fb5e1d"); How can I change the rectangles in the legend to match? Quote Link to comment Share on other sites More sharing options...
0 greg.valainis@pa-tech.com Posted January 3, 2014 Author Report Share Posted January 3, 2014 Never mind. Answer in previous post. Quote Link to comment Share on other sites More sharing options...
Question
greg.valainis@pa-tech.com
I just changed the colors of the individual pie slices using the following code:
chart1.getPoints().getItem(0,0).setColor("#9bcb3e");
chart1.getPoints().getItem(0,1).setColor("#fbd91d");
chart1.getPoints().getItem(0,2).setColor("#fb5e1d");
How can I change the rectangles in the legend to match?
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.