Support Board
Date/Time: Wed, 07 May 2025 02:00:25 +0000
Post From: sc.Subgraph[].DisplayNameValueInWindowsFlags = 0 Not Respected for Region Data Line
[2024-12-05 13:45:30] |
Jedi Trader - Posts: 14 |
Right you are. Indeed, the following code works as intended: Subgraph_Grid.Name = "Grid Style"; Subgraph_Grid.PrimaryColor = COLOR_YELLOW; Subgraph_Grid.DisplayNameValueInWindowsFlags = 0; // necessary to remove the subgraph data point from Chart Values Window Subgraph_Grid.DisplayNameValueInDataLine = 0; // essential to remove the subgraph data point from the region data line. As you say, a comment should be added to the documentation in relation to the SNV_DISPLAY_IN_DATA_LINE flag for DisplayNameValueInWindowsFlags to state that this is deprecated; or, necessary but not sufficient (I'm unsure which). Also, it would help in this case if the sc.Subgraph[] structure members were arranged alphabetically in the docs so that one would have some hope of seeing these members side by side. |