Login Page - Create Account

Support Board


Date/Time: Fri, 29 Mar 2024 02:15:57 +0000



Subgraph.DrawStyle = DRAWSTYLE_CUSTOM_VALUE_AT_Y

View Count: 804

[2020-05-23 12:18:02]
User869657 - Posts: 31
Hello,

We have noticed a change in behaviour of Subgraph.DrawStyle = DRAWSTYLE_CUSTOM_VALUE_AT_Y between versions 2101 and 2102.

From 2102 and onwards, when setting the Y value via Subgraph[].Arrays[0][], the figure displayed is not "fixed", i.e when zooming/dezooming the chart, the Y value of the figure displayed changes, when it wasn't the case for version 2101 and before.

Could you please let us know if any changes have been made on this topic ? This part of our code hasn't changed

Thank you
[2020-05-27 17:47:51]
User869657 - Posts: 31
Hello team,

Could you please let me know if the above is genuine/expected ?

Thanks
[2020-05-29 15:56:16]
Sierra Chart Engineering - Posts: 104368
We will check.
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
[2020-05-31 07:36:40]
Sierra Chart Engineering - Posts: 104368
Ok there has been a recent change with this Draw Style:
Chart Studies: Custom Value At Y (ACSIL: DRAWSTYLE_CUSTOM_VALUE_AT_Y)

This Draw Style also supports offsetting the text by a positive or negative amount in units of the text size. This is controlled through the sc.Subgraph[].Arrays[1][sc.Index] Subgraph Extra Array 1 at the Subgraph bar index. If the element in this array is set to 1 at a particular chart bar index, then the text will be offset down by the amount of the text height. If this is set to -1 the text will be offset up by the text height. Using a larger values will increase the amount of the offset.

This may be the issue you are seeing. Make sure this array is not being used.

Otherwise, there have been no other changes.
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