Login Page - Create Account

Support Board


Date/Time: Fri, 20 Apr 2018 09:00:16 +0000



ACSIL sc.BaseGraphConstantRangeScaleMode

Support Request:
[2017-12-21 05:57:56]
User553714 - Posts: 144
I am using the various modes of sc.BaseGraphConstantRangeScaleMode and have two questions to which I could not find answers in the documentation;
https://www.sierrachart.com/index.php?page=doc/ACSIL_Members_Variables_And_Arrays.html#scBaseGraphConstantRangeScaleMode
https://www.sierrachart.com/index.php?page=doc/Scaling.html#ConstantRange_ScaleRange

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: 59270
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. If possible please keep your questions brief and to the point. Please be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

If your question/request has been answered and you do not have anything further, then it is easiest for us if you do not reply again to say thank you.

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

Login


Login Page - Create Account