Skip to Content
0
Aug 11, 2015 at 09:41 AM

Default selection functionality in Pie Charts

144 Views

Hi Friends,

Scenario : I have a pie chart in my design. I need to incorporate some functionality on selection of pie chart member. At the moment, I am able to achieve this by writing below piece of code in "on select" event of Pie Chart.

TEXT_1.setText(CHART_1.getSelectedMember("ZCMP").text);

This text box now gets the value once I select any company from my pie chart.

Issue : However, this value gets populated in text box only when I select the company manually in pie chart, I need to have a default selection on load of the page i,e I need one company to be selected once the page is loaded automatically.

My Approach : I thought of putting a code for CHART_1.Onselect() method. But I couldn't find any method which selects any value by default. Can you please help me in this matter.

SDN Search : I tried to find its solution in web but couldn't find much except one thread which is close to my requirement. But it doesn't have the solution.

Thanks,

Gaurav

Attachments

screenshot.jpg (23.6 kB)