Login Page - Create Account

Support Board


Date/Time: Wed, 07 May 2025 01:49:54 +0000



Post From: sc.Subgraph[].DisplayNameValueInWindowsFlags = 0 Not Respected for Region Data Line

[2024-12-05 03:21:02]
Jedi Trader - Posts: 14
sc.Subgraph[].DisplayNameValueInWindowsFlags = 0 should set "Display Name and Value in Region Data Line" to false but does not.

Repro:
1. Include following code in sc.SetDefaults block (e.g. in scsf_NumericInformationGraphDrawTypeExample):

    sc.AutoLoop = true;
    sc.GraphDrawType = GDT_NUMERIC_INFORMATION;
    ...
    
    Subgraph_Grid.Name = "Grid Style";
    Subgraph_Grid.PrimaryColor = COLOR_YELLOW;
    Subgraph_Grid.DisplayNameValueInWindowsFlags = 0;
    ...

2. Observe that in the study settings window, Subgraphs tab, the "Display Name and Value in Region Data Line" setting remains checked. When the study is applied, the data point, "Grid Style: 0.00" is included in the Region Data Line. On the other hand, the expected behaviour occurs in surpressing the "Display Name and Value in Chart Values Windows."