Support Board
Date/Time: Sun, 02 Feb 2025 20:05:51 +0000
Post From: DRAWSTYLE_BAR_TOP, DRAWSTYLE_BAR_BOTTOM don't get drawn at the first bar
[2019-09-23 11:12:02] |
User353585 - Posts: 66 |
This is the image of example, with the following test study applied. ----------------------------------------------- ----------------------------------------------- SCSubgraphRef Subgraph_1 = sc.Subgraph[0]; SCSubgraphRef Subgraph_2 = sc.Subgraph[1]; if (sc.SetDefaults) { sc.GraphName = "test"; sc.GraphRegion = 0; sc.UpdateAlways = 0; sc.AutoLoop = 1; sc.DataStartIndex = 0; sc.Subgraph[0].Name = "Bar Top"; sc.Subgraph[0].DrawStyle = DRAWSTYLE_BAR_TOP; sc.Subgraph[0].LineWidth = 3; sc.Subgraph[0].PrimaryColor = RGB(255, 128, 0); sc.Subgraph[0].DrawZeros = false; sc.Subgraph[1].Name = "Bar Bottom"; sc.Subgraph[1].DrawStyle = DRAWSTYLE_BAR_BOTTOM; sc.Subgraph[1].LineWidth = 3; sc.Subgraph[1].PrimaryColor = RGB(0, 255, 128); sc.Subgraph[1].DrawZeros = false; return; } sc.Subgraph[0][sc.Index] = 57; sc.Subgraph[1][sc.Index] = 55; |
CLX19[M] 20 Min #1 2019-09-23 07_06_20.746.png / V - Attached On 2019-09-23 11:11:52 UTC - Size: 19.98 KB - 254 views |