Support Board
Date/Time: Thu, 13 Mar 2025 10:12:51 +0000
[Programming Help] - Change text background color
View Count: 429
[2022-06-13 09:34:42] |
BenjFlame - Posts: 335 |
Hi, here is how I define the text initially: Subgraph_BidVolumeTxt.Name = "Bid Total Text";
Subgraph_BidVolumeTxt.DrawStyle = DRAWSTYLE_TEXT_WITH_BACKGROUND; Subgraph_BidVolumeTxt.PrimaryColor = RGB(255, 255, 255); Subgraph_BidVolumeTxt.SecondaryColor = RGB(100, 255, 200); Subgraph_BidVolumeTxt.LineWidth = 12; Subgraph_BidVolumeTxt.GraphicalDisplacement = 2; Then with code, i'm able to change text color: Subgraph_BidVolumeTxt.DataColor[sc.Index] = RGB(188, 27, 60); But how to also change the background color of the text? Date Time Of Last Edit: 2022-06-13 09:35:46
|
To post a message in this thread, you need to log in with your Sierra Chart account: