Login Page - Create Account

Support Board


Date/Time: Tue, 26 Nov 2024 22:26:49 +0000



sc.TransparencyLevel

View Count: 307

[2023-09-25 19:00:09]
User907968 - Posts: 823
Hello

It seems something is changed with sc.TransparencyLevel in v2551, studies built on earlier versions that read this value for drawing purposes do not function correctly any more (it always returns 0).

I didn't see anything in the release notes about this, but looking at sierrachart.h it seems that member is no longer used.
I guess instead we should use GetChartStudyTransparencyLevel/SetChartStudyTransparencyLevel?

Please confirm.

Thanks
[2023-09-26 10:42:27]
Sierra_Chart Engineering - Posts: 17185
That variable had to be disabled. You need to use these two new functions instead:

int32_t sc.GetChartStudyTransparencyLevel(int32_t ChartNumber, int32_t StudyID);
int32_t sc.SetChartStudyTransparencyLevel(int32_t ChartNumber, int32_t StudyID, const int32_t TransparencyLevel);

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-09-26 10:42:47
[2023-09-26 10:55:59]
User907968 - Posts: 823
Ok, thank you for the confirmation.

Which version is this change effective from?
Maybe something could be added to the release notes, so others are not caught by the same?


On an unrelated subject, do you have an eta for transparency support in the new graphics functions?
Very interested to start using those instead of GDI.
[2023-10-14 00:42:56]
Mark Lewis - Posts: 25
FYI, the new set function appears to be undocumented.

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

Login

Login Page - Create Account