I was working for some project , that needed a littile bit of vertical scroll in NT chart. With some experimenting
i could get close to what i needed....however its not fully functional but solved my purpose temporarily. The code in script is not designed as general rather it was a personal experiment on particular instrument, so some numerical values need to be choosen as per your test instrument. What it lacks and what it produces, can be better viewed than written, so hv uploaded a small video.
VerticalScroll - devdas's library (
I feel, some pieces of puzzule need to be arrange to make it fully functional...interested coder may try.
Some past experiments for controls of ChartControl gave some info as shown in pic. By default horizontal chart control (scrChart) is tied to panel chart ( pnlChart) and so produces normal hrizontal effect. 4th control added by indicator vsBar , if somehow could be tied to this pnlChart, then i guess fully functional vertical scroll can be achieved.
Below are old quick summary links/description
------------------------------------------------------------------------------------------------------------------------------
This Indicator Tool Set, make able to vertically scroll and drag the NT's chart. Developed and coded on NT7-R2.
Various development builds are available in thread and latest build is available in download section at
following development builds are as below.
** Initial Fully Working build in post #3 ,
** Jump-Jerk fixed build in post #6 ,
** Bug-fix Non-Auto Scroll in post #9 ,
** With AutoScroll Options in post #17 ,
** AutoScroll and VerticalDrag in post 25 ,
** All feature but without Instrument Fix ( good if you dont change instrument frequently in between ) in post #43
** Instrument fix ( has some little random issue with long stretching of bars, F5 make it ok ) in post #47
** Last till date , With WonderScroll in post #73
and also in download section.
---------------------------------------------------------------------------------------------