I am having troubles with TexStudio making pie charts with the pgf-pie package. I literally copied a fragment of this template: https://es.overleaf.com/latex/examples/drawing-pie-charts-with-pgf-pie/bjghbcfkrdvn
\documentclass{article}
\usepackage{pgf-pie}
\begin{document}
\begin{tikzpicture}
\pie{10/A, 20/B, 30/C, 40/D}
\end{tikzpicture}
\end{document}
The log only shows the following message: Overfull \hbox (1033.10823pt too wide) in paragraph
As you can see the result is not the expected one, first because it does not show any pie chard, and secondo of all it should be something like this (done through Overleaf):

Does anybody knows how to fix this error?
Thank you for reading and for your Help.
David.

pgf-pieis broken or not compatible anymore with recenttikz. – Zarko Jan 10 '19 at 03:10tikz. someone should write to package author. – Zarko Jan 10 '19 at 04:24tikz. Things are actually being drawn, but the labels are messed up (and push the draws off the page). For some reason, the list of colors is supposed to be looped and identify the fill color for each wedge. If you replacecolor={...}withcolor={}within\pgfkeys(in the package file), you will see everything drawn with labels, minus the correct fill color. I'm not immediately sure how difficult a fix is, however. – whatisit Jan 10 '19 at 04:32\color, locally or not, is good practice ... Do a find&replace inpgf-pie.sty, replacing\colorwith e.g.\pie@color, and it works fine. I'll add a comment on the GitHub issue as well. – Torbjørn T. Jan 10 '19 at 17:22