I have some data which is periodic. I created a chart for this data:
Now I want to get a value at any point without using a data itself. Is it possible to decompose this signal to some simpler functions so I can sample them at any point and get the original result back? I did a search and found that Fourier Transform can help me. Thought I have no idea yet what is it. Am I right? Should I continue my investigation with FT or I'm completely wrong?

From the self-similarities your curve is clearly a fractal so let's forget Fourier series and look at the first terms : \begin{array} {c|c} x&y\\ \hline 1&1\\ 2&0\\ 3&1\\ 4&2\\ 5&3\\ 6&2\\ 7&3\\ 8&0\\ \end{array} This is repeated after that except for $16$ which becomes $4$ instead of $0$. Let's rewrite this in binary to catch a pattern : \begin{array} {r|r} x&y\\ \hline 1&1\\ 10&0\\ 11&1\\ 100&10\\ 101&11\\ 110&10\\ 111&11\\ 1000&0\\ \end{array}
If you remove the odd position binary digits of the source (the bits $1,3,5,\cdots$ in $x$) then you obtain the resulting destination and this holds for more values as illustrated here :