Login Page - Create Account

Support Board


Date/Time: Mon, 06 May 2024 10:21:33 +0000



[Programming Help] - Subgraphs with non-continuous lines for non-zero values

View Count: 648

[2019-05-27 05:01:25]
User553714 - Posts: 184
Is there any way to have a subgraph draw non-zero values, then break and be blank when values are zero and then start a new line when values are non zero again instead of it joining all non zero values as described in your documentation here;
ACSIL Interface Members - sc.Subgraph Array: sc.Subgraph[].DrawZeros
I would like the subgraph line to be non continuous; if you set DrawZeroes == 1 then there is that vertical line from the last non zero down to zero then back up again to the next non-zero value which I would like to avoid. Hopefully this is clear, let me know if you require a pic.
[2019-05-27 15:35:32]
Sierra Chart Engineering - Posts: 104368
You need to use this Draw Style:
DRAWSTYLE_LINE_SKIP_ZEROS
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