Support Board
Date/Time: Wed, 22 Jan 2025 09:56:19 +0000
Subgraphs in custom studies
View Count: 971
[2018-09-18 05:06:11] |
BrMa - Posts: 80 |
Dear ladies and gentlemen, since version 1806 or 1807 there are two bugs with subgraphs in custom studies. Before it worked like expected. 1) Altough my code says sc.Subgraph[0].DrawStyle = DRAWING_LINE; the draw style in the subgraphs tab shows "Bar". 2) When choosing "Dot" as a line style, size "1" appears to be stronger than size "2". And size "2" seems to be smaller than size "1" in the releases before. Other sizes seem to work as expected... Could you please restore the functionality / sizes as they were before 1806? Thanks in advance for looking into it, Markus |
[2018-09-18 05:37:35] |
BrMa - Posts: 80 |
Dear ladies and gentlemen, I have an amendment to my previous post for point number 2: I'm using in my study Tool.DrawingType = DRAWING_HORIZONTAL_RAY; and the issue with the sizes occurs there... Thanks in advance for looking into it, Markus |
[2018-09-18 17:15:11] |
Sierra Chart Engineering - Posts: 104368 |
1. This cannot be true. We have verified there is no problem with this. 2. We do not observe this. And how the operating system is rendering this, is how it is doing it. We do not control that. And there is no mistake from our side either. We have to use the standardized method for creating a pen for proper performance and it is up to the operating system to draw the line the way it does 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 Date Time Of Last Edit: 2018-09-18 17:18:10
|
[2018-09-18 17:39:26] |
Sierra Chart Engineering - Posts: 104368 |
2) But we do see this with the Horizontal Ray what you are describing and we will look into 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 Date Time Of Last Edit: 2018-09-18 17:39:38
|
[2018-09-18 18:01:05] |
BrMa - Posts: 80 |
First of all - thank you! I really do not want to keep you busy with unimportant topics, but I double-checked my code for point 1) and altough you're writing it's impossible I do have the issue... :-( I already tried to create a completely new chartbook with an new empty chart and add the study to see if something in the original chartbook is maybe loaded in a wrong way but I do have the same issue there... I'm using SierraChart 1807 Im posting the relevant default-setting section... maybe you can have a quick look at it but I do not see any mistake... // Set defaults if (sc.SetDefaults) { sc.AutoLoop = 0; // Automatic looping is disabled. sc.IncludeInStudySummary = 0; // Exclude from summary window sc.GraphRegion = 0; // Use main graph sc.ScaleRangeType = SCALE_SAMEASREGION; sc.ValueFormat = VALUEFORMAT_INHERITED; // Here is a block with some input fields // Subgraphs - in the real code here are 12 subgraphs defined - only the first one is printed as reference as the others are equal despite the subgraph-number sc.Subgraph[x] sc.Subgraph[0].Name = "Graph 1"; sc.Subgraph[0].DrawStyle = DRAWING_LINE; sc.Subgraph[0].PrimaryColor = RGB(128, 0, 0); sc.Subgraph[0].LineStyle = LINESTYLE_DOT; sc.Subgraph[0].LineWidth = 1; return; } And thank you for taking a look into point 2 as well! :-) |
[2018-09-18 19:01:48] |
Sierra Chart Engineering - Posts: 104368 |
There must be some other explanation for this. There cannot be a problem with this from our side. Just simply check any other study like Moving Average-Simple.
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 |
[2018-09-19 14:36:48] |
John - SC Support - Posts: 37369 |
The ENUM for the drawing style is DRAWSTYLE_LINE. You have it incorrect in your code.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2018-09-19 14:50:20] |
BrMa - Posts: 80 |
OMG! Such a stupid mistake! :-( I corrected it and - of course - it works! If you find anything on topic 2 (although I understand that you just the windows pen-functionality), pls let me know. Thank you! |
To post a message in this thread, you need to log in with your Sierra Chart account: