hello, i would like to add a horizontal scolling bar to this sketch since i "lost" some data at the end of the windows

i can't use the example in the reference since it uses an immage. Really i tried to use it but without good results. any idea? maybe i miss a library that could help me?