Support Board
Date/Time: Tue, 04 Nov 2025 04:04:49 +0000
Post From: Using ascil to obtain the subgraph color from of another charts study subgraph.
|   [2023-03-17 14:50:18]     |  
| User431178 - Posts: 805 | 
| 
                 SCSubgraphRef MySubgraph_For_Study = sc.Subgraph[0]; uint32_t PrimaryColor = 0; uint32_t SecondaryColor = 0; uint32_t SecondaryColorUsed = 0; if (sc.GetStudySubgraphColors(A, B, C, PrimaryColor, SecondaryColor, SecondaryColorUsed)) { MySubgraph_For_Study.PrimaryColor = PrimaryColor; MySubgraph_For_Study.SecondaryColor = SecondaryColor; MySubgraph_For_Study.SecondaryColorUsed = SecondaryColorUsed; } Subtitute A, B & C in the call to GetStudySubgraphColors for the chart, study and subgraph of your choosing. Date Time Of Last Edit: 2023-03-17 14:51:23  
             | 
        
