Login Page - Create Account

Support Board


Date/Time: Thu, 28 Mar 2024 08:54:43 +0000



ACSIL sc.BaseGraphConstantRangeScaleMode

View Count: 652

[2017-12-21 05:57:56]
User553714 - Posts: 184
I am using the various modes of sc.BaseGraphConstantRangeScaleMode and have two questions to which I could not find answers in the documentation;
ACSIL Interface Members - Variables and Arrays: sc.BaseGraphConstantRangeScaleMode
Chart Scale and Scale Adjusting: Constant Range (Scale Range)

1) The modes listed in the documentation (0, 1, 2, 3, 4) do not seem to include the "Keep the Last Bar in View" option available in the Scale Settings Constant Range drop down menu; is this option available in ACSIL and is it a case of the documents not being up to date?

2) With Mode=4 "CONST_RANGE_MODE_AUTO_CENTER_WHEN_BAR_BEYOND_TICKS_FROM_CENTER = 4" how do I set the Number of ticks from the centre using ACSIL?

Thanks
[2017-12-21 19:37:19]
Sierra Chart Engineering - Posts: 104368
1. That is equivalent to: CONST_RANGE_MODE_AUTO_CENTER_LAST_BAR

2. You cannot now but this variable will be added to the next release:
sc.ConstantRangeScaleModeTicksFromCenterOrEdge
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account