Login Page - Create Account

Support Board


Date/Time: Tue, 23 Oct 2018 21:46:43 +0000



Post From: ACSIL sc.BaseGraphConstantRangeScaleMode

[2017-12-21 05:57:56]
User553714 - Posts: 154
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