How to avoid the error "! Package pgfplots Warning: Axis range for axis x is approximately empty; enlarging it" when there is only a single symbolic x coord in bar chart. Please see the following MWE:
\documentclass{article}
\usepackage{tikz}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}
\begin{axis}[symbolic x coords = {Q6},xtick = data,ybar,ymin = 0]
\addplot[mark=none,Red,fill=Red] coordinates {(Q6,3)};
\addplot[mark=none,Orange,fill=Orange] coordinates {(Q6,4)};
\addplot[mark=none,Green,fill=Green] coordinates {(Q6,3)};
\addplot[mark=none,Blue,fill=Blue] coordinates {(Q6,3)};
\end{axis}
\end{tikzpicture}
\end{document}
I would be really grateful for any suggestions here.
Thank you.