Login Page - Create Account

Support Board


Date/Time: Thu, 12 Jun 2025 07:34:28 +0000



Post From: How to center a chart from the ACSIL code ?

[2022-11-15 19:09:11]
JohnR - User831573 - Posts: 333
There are APIs relative to scaling and one is to know what the Constant Range value is. It would be up to your code to decide how far or how often you wanted to center the price.
ACSIL Interface Members - Variables and Arrays: sc.BaseGraphScaleConstRange

sc.BaseGraphScaleConstRange
--- Type: Read/write float variable.
The sc.BaseGraphScaleConstRange variable gets and sets the grayscale range for the chart base graph when it is using a Scale Type of Constant Range.
Also may want to verify scale type.
sc.BaseGraphScaleRangeType

There are also some options for re-centering as seen in my attachment of the scale settings pop up window within existing UI.

Hope this helps,
JohnR
imageSC Forum center price 2022-11-15_13-54-22.jpg / V - Attached On 2022-11-15 19:06:07 UTC - Size: 221.96 KB - 171 views