Login Page - Create Account

Support Board


Date/Time: Wed, 27 Nov 2024 18:41:24 +0000



DRAWSTYLE_TRANSPARENT_CUSTOM_VALUE_AT_Y Subraph broken as of 2425 and 2525

View Count: 397

[2023-07-20 10:21:22]
User562525 - Posts: 33
I have a study using DRAWSTYLE_TRANSPARENT_CUSTOM_VALUE_AT_Y and the values no longer plot like they did in version 2516 and earlier. Were there code breaking changes or is this a bug?
Date Time Of Last Edit: 2023-07-20 10:21:43
[2023-07-20 10:22:15]
User562525 - Posts: 33
Correction , I meant 2524 (not 2425) and 2525
[2023-07-20 13:20:08]
Sierra_Chart Engineering - Posts: 17198
On the study Subgraph in your ACSIL custom study set to use this particular draw style, it contains an Arrays member.

In this set of arrays, are you using array at index 1?

See updated documentation here:
ACSIL Interface Members - sc.Subgraph Array: sc.Subgraph[].DrawStyle

As of version 2522, text alignment can be optionally controlled through the sc.Subgraph[].Arrays[1][] array. Can be one of: TA_LEFT, TA_RIGHT, TA_CENTER and one of TA_TOP, TA_BOTTOM separated by the bitwise OR operator |.

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, use the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2023-07-20 16:40:45
[2023-07-20 17:14:18]
User562525 - Posts: 33
From what I know, Arrays[1] is used to define the offset. I understand the improvements but I have a study I rely on that cannot be quickly recompiled. Can you make it so that the old behavior is used if TA_LEFT, TA_RIGHT, TA_CENTER, TA_TOP, TA_BOTTOM is not defined? Meaning it would draw as it did before the changes in 2522 so it can be continued to be used without recompile. I appreciate your consideration.
[2023-07-20 17:25:40]
Sierra_Chart Engineering - Posts: 17198
We are checking on this.
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, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2023-07-24 06:54:06]
User562525 - Posts: 33
Offset was in pixels before. I would think this behavior should not have been broken, or at least still supported even if there is a a new scheme
[2023-07-24 06:58:38]
User562525 - Posts: 33
Without the pixel offset, I can no longer place the value where I had it before. Meaning previous behavior has been completely broken. This is a BUG. Please fix it. I have many people relying on my indicators. Thank you. I am using the transparent version DRAWSTYLE_TRANSPARENT_CUSTOM_VALUE_AT_Y
Date Time Of Last Edit: 2023-07-24 07:18:22
[2023-07-24 09:38:22]
Sierra_Chart Engineering - Posts: 17198
This is not true:
Offset was in pixels before.

This is from the documentation and has not changed:
The Chart Region y-coordinate is controlled through the sc.Subgraph[].Arrays[0][] array. The y-coordinate is based on the study scale values.

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, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2023-07-24 10:02:21]
Sierra_Chart Engineering - Posts: 17198
We do see an issue and this will be resolved in 2526.

It is not what you described.

Regarding the offset, here is the relevant documentation for that:
A vertical offset based on text height can be controlled through the sc.Subgraph[].Arrays[1][] array. A positive value offsets the text up by this set value times the text height. A negative value offsets the text down by this set value times the text type.

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, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2023-07-25 06:52:31]
User562525 - Posts: 33
Thank you. I confirm the issue has been fixed

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

Login

Login Page - Create Account