I need to have a pie char near a descption block like:

-----------------------------------
| Righe totali | |
| Completezza | pie chart |
| | |
-----------------------------------
at this moment my code is:
\documentclass[a4paper,12pt,oneside]{report}
\usepackage{pgf-pie} %grafici pie
\usepackage{tikz} %grafici pie
\pgfkeys{/number in legend/.code=
\expandafter\let\expandafter\ifpienumberinlegend
\csname if#1\endcsname
\ifpienumberinlegend
\let\legendbeforenumber\beforenumber
\let\legendafternumber\afternumber
\def\beforenumber##1\afternumber{}%
\fi,
/number in legend/.default=true
}
\begin{document}
\begin{description}
\item[Righe totali] 1,699,382
\item[Copletezza] 0.76698 (valore inventato)
\begin{tikzpicture}
\pie[color={black!10}, text=legend, sum=1, radius=0.5, number in legend]{0.76698/ Completezza}
\end{tikzpicture}
\end{description}
\end{document}
But I know it isn't correct. How can I do it?



\documentclas{...}on beginning and\end{document}on the end. – Zarko Jun 17 '17 at 12:04number in legend: https://tex.stackexchange.com/questions/112140/put-numbers-in-legend-using-pgf-pie – Torbjørn T. Jun 17 '17 at 12:49baselinekey, e.g.\begin{tikzpicture}[baseline=2mm]– Torbjørn T. Jun 17 '17 at 12:52\piedefined? It's not in standard tikz. – JPi Jun 17 '17 at 12:55minipageand the picture in another.\begin{minipage}{.5\linewidth}\begin{description}...\end{description}\end{minipage}\begin{minipage{.45\linewidth}\begin{tikzpicture}...\end{tikzpicture}\end{minipage}. Adjust widths as desired. – cfr Jun 17 '17 at 12:58\begin{minipage}[c]{.5\textwidth} \begin{description} \item[Righe totali] 1,699,382 \item[Copletezza] 0.76698 (valore inventato) \end{description} \end{minipage} \begin{minipage}[c]{.5\textwidth} \begin{tikzpicture} \pie[color={black!10}, text=legend, sum=1, radius=0.5, number in legend]{0.76698/ Completezza} \end{tikzpicture} \end{minipage}
– Razzo Jun 17 '17 at 14:51.5\textwidthfor both, you should make sure that any line ending between the two is commented as there is not room for a space there. Also, make sure that you use\noindentif there's a paragraph break before them. Otherwise, you'll get bad box warnings. (This is why I used only.5and.45of the available width, as the picture really didn't need half of the line. – cfr Jun 17 '17 at 22:09