# How to align text inside pie chart?

I'm creating pie chart using code below:

\begin{center}
\begin{pspicture}(-5,-4)(4,4)
\psset{unit=1.2}
\bfseries%
\rput(psChartI1){TEXTA \above \%}\rput(psChartI2){TEXTB \below \%}
\end{pspicture}
\end{center}


Currently TEXTA & TEXTB are aligned towards circumference, is there any way to center align this text?

UPDATE: (with MWE);

\documentclass{article}
\usepackage{pgfplots, pgfplotstable}
\usepackage{datatool}
\usepackage{tikz}
\begin{document}
\begin{center}
\begin{pspicture}(-5,-4)(4,4)
\psset{unit=1.2}
\bfseries%
\rput(psChartI1){TEXTA 30 \%}\rput(psChartI2){TEXTB 70 \%}
\end{pspicture}
\end{center}
\end{document}

-
Please provide us with MWE (minimal working example). \rput has an optional argument to specify the anchor. – kiss my armpit Oct 5 '13 at 17:10
MWE updated in the question. – Pawan Mude Oct 5 '13 at 17:20
Herbert's answer is much more elegant than mine. – kiss my armpit Oct 5 '13 at 18:25

Set the distance of the inner chart node to 0.5:

\documentclass{article}

\begin{document}
\begin{pspicture}(-5,-4)(4,4)
\psset{unit=1.2}
\psChart[userColor={black!10,black!40},chartSep=10pt,chartNodeI=0.5,%%%%%
\rput(psChartI1){\bf TEXTA 30\%}
\rput(psChartI2){\bf TEXTB 70\%}
%\psdots(psChartI1)(psChartI2)%% for a test
\end{pspicture}
\end{document}


-
I really don't understand why you still use a command (\bf) that has been declared obsolete twenty years ago. If you want to use it in your own documents, fine; I find it wrong to use it in a public place where we are expected to teach proper usage of LaTeX. – egreg Oct 5 '13 at 17:44
What has PSTricks to do with \bf? Try changing article into memoir and see the result. – egreg Oct 5 '13 at 17:48
Thank You, it's working perfectly for ratio of 30,70; Is there any way to make it generic (to make center align for any values ex: 10:90 , 5:95, 50,50 and so on)? – Pawan Mude Oct 5 '13 at 18:01
@PawanMude: see my edit. I set the relative distance of the inner node to 0.5 – Herbert Oct 5 '13 at 18:09
Thank You, it's working for other values. – Pawan Mude Oct 5 '13 at 18:30
\documentclass[pstricks,border=12pt]{standalone}

\begin{document}

\multido{\i=0+15}{24}{%
\begin{pspicture}(-4,-4)(4,4)
\psset{unit=1.2}