Is There any way to show value and label both in sencha pie chart? I tried in label “render”, but the only parameter that come is the value or label only one at a time, But I can’t get both at a time.
Please help me regarding this,
Thanks,
Nag.
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.
I think this is what you are looking to do : http://bl.ocks.org/2237197.
In the
rendererfunction you have access to thechartvariable, so you can get the store, and then you find the record corresponding to the label you are currently rendering and then you can render whatever you want !