There are a number of finance chart zoom/scroll examples in this forum. (You may try to search for "FinanceChart Zoom".) However, they may not be in C++. (From your earlier message, I think you can using C++.)
I happened to have an C++/MFC example based on the Interactive Financial Chart sample code, and it is extended to support zoom/scroll and track line. I have attached it with this message. To try it, please delete the original "mfcdemo/financedemo" folder, then extract the financedemo folder inside and put it into the mfcdemo folder. You can then start the "ChartDirector/mfcdemo/mfcdemo.sln" Visual Studio solution, set "financedemo" as the start up project, and press compile and run it.
If you are using a different programming language of GUI framework (Qt?), please let me know.