Login Page - Create Account

Support Board


Date/Time: Tue, 24 Nov 2020 08:58:58 +0000



Subgraph.DrawStyle = DRAWSTYLE_CUSTOM_VALUE_AT_Y

[2020-05-23 12:18:02]
User869657 - Posts: 19 | Ending Date: 2021-04-24
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: 19 | Ending Date: 2021-04-24
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: 91482 | Ending Date: 2021-04-05
We will check.
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.
[2020-05-31 07:36:40]
Sierra Chart Engineering - Posts: 91482 | Ending Date: 2021-04-05
Ok there has been a recent change with this Draw Style:
https://www.sierrachart.com/index.php?page=doc/ChartStudies.html#DrawStyle_CustomValueAtY

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. 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