Login Page - Create Account

Support Board


Date/Time: Sun, 12 Jan 2025 11:57:46 +0000



Can LineStyle be added as a variable to DRAWSTYLE_SUBGRAPH_NAME_AND_VALUES_ONLY

View Count: 919

[2017-02-11 22:29:41]
@sstfrederik - Posts: 404
I do not seem to be able to set LineStyle for DRAWSTYLE_SUBGRAPH_NAME_AND_VALUES_ONLY. Can this be added?

Thanks.
[2017-02-11 23:24:08]
Sierra Chart Engineering - Posts: 104368
No. This makes no sense.

You must have a misunderstanding about this particular Draw Style. It does not even draw a line.
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: 2017-02-11 23:24:35
[2017-02-12 14:04:12]
@sstfrederik - Posts: 404
I would like this subgraph to be a placeholder for line properties that are drawn with draw tools in ACSIL and sc.AddLineUntilFutureIntersection().

In some sample code for sc.AddLineUntilFutureIntersection() the DRAWSTYLE_SUBGRAPH_NAME_AND_VALUES_ONLY is used to get line properties. LineColor and Linewidth works fine, however LineStyle is not part of that. It would make sense if this subgraph is used to provide Line properties only. The code examples suggests this.

I guess I could go for DRAWSTYLE_LINE for this purpose as well.
[2017-02-13 09:48:21]
Sierra Chart Engineering - Posts: 104368
Yes use DRAWSTYLE_LINE and do not fill the Subgraph with any values and set this to false:
ACSIL Interface Members - sc.Subgraph Array: sc.Subgraph[].DrawZeros
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:

Login

Login Page - Create Account