0

I am following an especif pattern that differentiates Charts from Figures. So I have to name Charts e count them separately from Figures. I made a generic code as example:

\documentclass[12pt,a4paper]{article}
\usepackage{graphicx}
\begin{document}

 \begin{figure}
\includegraphics{1.jpg}
\caption{a}
\end{figure}

\begin{figure}
\includegraphics{g1.jpg}
\caption{ga}
\end{figure}

\begin{figure}
\includegraphics{2.jpg}
\caption{b}
\end{figure}

\begin{figure}
\includegraphics{g2.jpg}
\caption{gb}
\end{figure}

\end{document}

The result is:
enter image description here

And what I want is:

enter image description here

How can I do this?