Support Board
Date/Time: Fri, 14 Mar 2025 10:12:51 +0000
[Programming Help] - ACSIL: Implementing Zoom In/Cancel
View Count: 470
[2022-06-02 14:50:16] |
frozentundra - Posts: 94 |
Hello, Is there a way to use the Tools -> Zoom In and Cancel functionality from ACSIL? If not, is there a way via ACSIL to set the First and Last visible bar on the chart, in other words, being able to set the number of visible bars on a chart which would act kind of like a zoom? Thank you in advance. |
[2022-06-02 15:26:23] |
User431178 - Posts: 613 |
Take a look at the following items. ACSIL Interface Members - Variables and Arrays: sc.ScrollToDateTime ACSIL Interface Members - Variables and Arrays: sc.ChartBarSpacing You can set the bar spacing and scroll to a specfic date/time (and therefore bar), maybe this is enough for you? Also, these may help too. ACSIL Interface Members - Variables and Arrays: sc.BaseGraphScaleRangeType ACSIL Interface Members - Variables and Arrays: sc.BaseGraphScaleRangeBottom ACSIL Interface Members - Variables and Arrays: sc.BaseGraphScaleRangeTop |
[2022-06-02 15:44:48] |
frozentundra - Posts: 94 |
@User431178 - thank you, I was able to accomplish almost exactly what I desired using sc.ChartBarSpacing. Appreciate the quick assist!
|
To post a message in this thread, you need to log in with your Sierra Chart account: