Login Page - Create Account

Support Board


Date/Time: Thu, 28 Nov 2024 16:43:39 +0000



Post From: question about Graphics Settings

[2023-03-05 05:48:27]
Tony - Posts: 522
Thanks for the reply.

I did some further investigations, first I thought it was Linux issue, switch to Windows, it was the same, then I removed custom study (only one) from chart book and restart Sierra Chart, and then issue was gone.

So, it was caused by my study, not sure what it is yet, I will try to find it out.


I didn't realize there is a sc.ScaleBorderColor variable, I got around my issue by doing this:


if (sc.CharacterEventCode==113) { // "q"
  sc.HideStudy = !sc.HideStudy;
  sc.UseGlobalChartColors = sc.HideStudy ? 0 : 1;
  sc.ChartBackgroundColor = sc.HideStudy ? RGB(105,105,105) : RGB(255,245,211);
sc.ScaleBorderColor = sc.HideStudy ? RGB(105,105,105) : RGB(255,245,211);
}

It seems working fine, hope it is safe for me to do that.

Thanks a lot!