I got 2 erros with the code below.
- Package PGF Math Error: Unknown function `Criadas' (in 'Criadas').
- Package PGF Math Error: Sorry, an internal routine of the floating point unit got an ill-formatted floating point number `0'. The unreadable part was near '0'.
\begin{figure}
\centering
\caption{Total de Ideias Legislativas}
\label{fig:ideia-total}
\begin{tikzpicture}
\begin{axis}[
width=12cm,
height=8cm,
ybar,
bar width=1.2cm,
enlarge x limits=0.1,
major x tick style = transparent,
symbolic x coords={Criadas,Debatidas,Projetos de Lei,Leis},
xtick=data,
ymajorgrids = true,
ylabel={Ideias Legislativas},
scaled y ticks=false,
ymin=0,
ymax=100
]
\addplot [gray, fill]
coordinates {
(Criadas,100)
(Debatidas,78)
(Projetos de Lei,25)
(Leis,1)
};
\draw [->, thick, white, xshift=-.2cm] (Criadas,90) -- (Criadas,100)
node [pos=0, rotate=90, anchor=east] {\(73.003\)};
\end{axis}
\end{tikzpicture}
\end{figure}