Support Board
Date/Time: Sun, 02 Nov 2025 22:45:10 +0000
[Programming Help] - accessing left most bar currently being displayed in window
View Count: 518
| [2023-03-14 03:55:15] |
| jomo88 - Posts: 47 |
|
Scrolling left and right changes which bars are being drawn... I want to access the first bar (left most) in the window and redraw a bunch of acsil subgraphs starting from 0 at that bar. Basically I want something like a percent change chart but it constantly re-anchors to the where ever left side of the window happens to be scrolled to. It will have to redraw every time a new scroll happens. |
| [2023-03-14 05:16:44] |
| User90125 - Posts: 715 |
|
Use sc.IndexOfFirstVisibleBar and/or sc.IndexOfLastVisibleBar: ACSIL Interface Members - Variables and Arrays: sc.IndexOfFirstVisibleBar ACSIL Interface Members - Variables and Arrays: sc.IndexOfLastVisibleBar |
To post a message in this thread, you need to log in with your Sierra Chart account:
