Login Page - Create Account

Support Board


Date/Time: Tue, 26 Nov 2024 06:33:10 +0000



Post From: sc.SetChartStudyTransparencyLevel not working

[2023-10-14 17:48:24]
Mark Lewis - Posts: 25
I got it to work using the code below. I'm thinking the study ID isn't available when sc.SetDefaults code is run.


if (sc.StudyGraphInstanceID != 0 && sc.Index == 0)
{
sc.SetChartStudyTransparencyLevel(sc.ChartNumber, sc.StudyGraphInstanceID, 72);
}

Hope that helps someone else :)