@gopij could you please add more context to your question? What version of Splunk is it? Your dashboard is in Splunk or Outside? Are you talking about built in Pie Chart or some external visualization (d3, svg, or any other charting library)? Are you looking for Splunk JS Stack or REST API? By any chance are you trying out Splunk Developer Cloud Beta announced in .Conf this year?