Support Board
Date/Time: Sat, 21 Dec 2024 13:19:32 +0000
Subgraph ShortName
View Count: 1258
[2014-11-16 13:36:44] |
Hendrixon - Posts: 130 |
1. Trying to use this member gives a compile error: 'struct s_SCSubgraph_260' has no member named 'ShortName'
2. Please add coloring options to the Name and Value labels: * Option to reverse text and background color. right now the labels colors are fixed and opposite to each other (as can be seen in the pic). * Option to choose if label background will be opaque or see thru. |
[2014-11-18 22:53:20] |
Sierra Chart Engineering - Posts: 104368 |
1. Makes no sense. We do not see any compiler error like this with that structure member. 2. We will see about 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 |
[2014-11-19 10:46:17] |
Hendrixon - Posts: 130 |
That's all I need to get that error. See, nothing is there. I'm on version 1196. #include "sierrachart.h"
SCDLLName("SC member test") SCSFExport scsf_TestShortName(SCStudyGraphRef sc) { SCSubgraphRef TestSubGraph = sc.Subgraph[0]; if (sc.SetDefaults) { sc.GraphName = "shortname compile test"; sc.AutoLoop = 1; 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; TestSubGraph.Name = "Full Name"; TestSubGraph.ShortName = "Short Name"; TestSubGraph.DrawStyle = DRAWSTYLE_LINE; return; } } |
[2014-11-21 03:06:14] |
Sierra Chart Engineering - Posts: 104368 |
We tested this code under Visual C++ and it compiles without any errors. Make sure the SierraChart.h header file is up-to-date . 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 Date Time Of Last Edit: 2014-11-22 08:37:16
|
[2014-11-21 13:24:22] |
Hendrixon - Posts: 130 |
I get the same error with Visual C++ (see pic). If I comment out that line, the file compiles fine under Visual C++. Header file you mean sierrachart.h? The only thing regarding ShortName there is this: // 712
I've attached the sierrachart.h as well.
SCString GraphShortName; |
sierrachart.h - Attached On 2014-11-21 13:21:38 UTC - Size: 153.82 KB - 1690 views |
[2014-11-22 08:41:12] |
Sierra Chart Engineering - Posts: 104368 |
This header file is not up to date. Install the latest version of Sierra Chart.
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 |
[2014-11-22 16:33:13] |
Hendrixon - Posts: 130 |
1. Installing latest version (1213) fixed the problem. Thank you. 2. I know you already said "We will see about this". Attached a pic just to show you why the request, as the "Name Label" and "ShortName" are hard to see. Done. |
[2014-12-01 13:25:21] |
Hendrixon - Posts: 130 |
Many thanks for adding the reverse coloring option. How can it be set via ACSIL? |
To post a message in this thread, you need to log in with your Sierra Chart account: