Login Page - Create Account

Support Board


Date/Time: Thu, 28 Nov 2024 13:57:30 +0000



question about Graphics Settings

View Count: 472

[2023-02-28 19:32:18]
Tony - Posts: 522
Hi,

I tried set some of the values in "Graphics Settings - Chart" different than "Graphics Settings - Global", it works great, until I noticed every time I check and uncheck "Use Global Graphics Settings Instead of These Settings", some of the values I set in "Graphics Settings - Chart" (i.e. Chart Scale Border) will be changed to the corresponding Global Graphics value by itself and I had to change it back to the value I wanted.

In my case, I need change the value of sc.UseGlobalChartColors in ACSIL from time to time, it doesn't work all the time, unless for those values that can be accessed by ACSIL, like sc.ChartBackgroundColor

I am wondering if "Graphics Settings - Chart" and "Graphics Settings - Global" can be treated as 2 different sets and independent?

Thanks a lot!
Date Time Of Last Edit: 2023-02-28 19:39:26
[2023-03-03 18:41:04]
Sierra_Chart Engineering - Posts: 17201
We will look into this.
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
[2023-03-04 09:19:10]
Sierra_Chart Engineering - Posts: 17201
This issue is not reproducible and does not make technical sense as to why it would occur.

You must be changing this color in ACSIL:
sc.ScaleBorderColor

If so, this will lead to the problem but we will implement a solution to that in the next release.
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
[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!
[2023-03-07 17:24:23]
Sierra_Chart Engineering - Posts: 17201
Also to let you know, ACSIL is going to have new functions to get and set all the different color and graphics properties for a chart.

This will be out next week.
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

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

Login

Login Page - Create Account