[pstricks] chartNodeI

Herbert Voss Herbert.Voss at FU-Berlin.DE
Tue Dec 1 10:05:54 CET 2009


Am 01.12.2009 02:56, schrieb Jon Joseph:
> chartNodeO in psset seems to have no effect. I tried psset{chartNodeO=1} and several other values. I am using TeXshop 2.26 (chartNodeI does not seem to work either). Any suggestions? Code below:
> 
> \begin{pspicture}(-5,-3)(3,3) 	 \psChart[userColor={red!30,green!30,blue!40,gray,cyan!50},chartSep=30pt,shadow=true,shadowsize=5pt ]{35,20,20,16,9}{}{1}
> 	 \psset{nodesepA=5pt,nodesepB=-10pt, chartNodeO=1} % does not change placement of  text

it is too late, when you set the options after calculating the
chart. All distances are already set. Use the other way round:

\psset{nodesepA=5pt,nodesepB=-10pt, chartNodeO=1}
\psChart[userColor={red!30,green!30,blue!40,gray,cyan!50},chartSep=30pt,
      shadow=true,shadowsize=5pt ]{35,20,20,16,9}{}{1}

Herbert

> 	 
> 	 \ncline{psChartO1}{psChart1}
> 	 \nput{0}{psChartO1}{\bf\footnotesize Transportation (35\%)} 
> 	 
> 	 \ncline{psChartO2}{psChart2}
> 	 \nput{150}{psChartO2}{\bf\footnotesize Equipment Rental (20\%)} 
> 	 
> 	 \ncline{psChartO3}{psChart3}
> 	 \nput{-90}{psChartO3}{\bf\footnotesize Lodging (20\%)} 
> 	 
> 	 \ncline{psChartO4}{psChart4}
> 	 \nput{0}{psChartO4}{\bf\footnotesize Food (16\%)}
> 	 
> 	  \ncline{psChartO5}{psChart5}
> 	  \nput{0}{psChartO5}{\bf\footnotesize Lift Tickets (9\%)} 
> \end{pspicture}


More information about the PSTricks mailing list