Support Board
Date/Time: Sun, 12 Jan 2025 23:44:35 +0000
ASCIL: sc.TitleBarName
View Count: 736
[2017-03-20 03:09:48] |
6c7574686572 - Posts: 20 |
Why does the following code set the chart title bar name to a blank value "" instead of "CHART"? sc.TitleBarName = "CHART";
I could not find any further documentation http://www.sierrachart.com/index.php?page=doc/ACSIL_Members_Variables_And_Arrays.html#scTitleBarName Thank you |
[2017-03-20 03:20:25] |
Sierra Chart Engineering - Posts: 104368 |
Most likely because you set this within the sc.SetDefaults code block. Must be below it.
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, *change* to the Teton service: Sierra Chart Teton Futures Order Routing |
[2017-03-20 03:33:00] |
6c7574686572 - Posts: 20 |
I just checked and it was outside the defaults section. I also made a test study to confirm that the functionality remains the same. Actually the following happens after adding this study: 1) The chart title bar is set to blank 2) If I go to Chart Settings > Advanced Settings and enter anything in the "Title Bar Name" the result is "CHAR", then 1 second later it is "CHA", and it continues to delete each character one by one.. SCSFExport scsf_TitleBarTest(SCStudyInterfaceRef sc)
{ if (sc.SetDefaults) { // Set the configuration and defaults sc.GraphName = "TitleBarTest"; sc.AutoLoop = 0; sc.GraphRegion = 0; // During development set this flag to 1, so the DLL can be modified. When development is completed, set it to 0 to improve performance. sc.FreeDLL = 1; return; } // Do data processing if (sc.HideStudy)//do nothing if study is hidden return; sc.TitleBarName = "CHART"; } Date Time Of Last Edit: 2017-03-20 03:33:37
|
[2017-03-20 04:04:06] |
Sierra Chart Engineering - Posts: 104368 |
We are testing 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, *change* to the Teton service: Sierra Chart Teton Futures Order Routing |
[2017-03-20 04:16:14] |
Sierra Chart Engineering - Posts: 104368 |
You need to use: sc.CustomChartTitleBarName sc.TitleBarName is going to be removed. 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, *change* to 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: