Support Board
Date/Time: Mon, 25 Nov 2024 22:51:26 +0000
sc.Graphics.ResetBrush() not working
View Count: 204
[2024-01-23 13:15:40] |
binaryduke - Posts: 369 |
From v2581 onwards, this function does not appear to be functioning. Here is a screenshot of the output of GDIExample. Previously the lower rectangle would be hollow. Tested on V2581/2586/2588 https://www.sierrachart.com/image.php?Image=1706015591280.png |
[2024-01-23 13:20:29] |
binaryduke - Posts: 369 |
I have further tested this by applying GDIExample to a chart as well as my own study that's using the sc.Graphics functions. Depending upon the calculation order of the studies, the rectangles output by both studies are set to the brush color of whichever study is called first. |
[2024-01-23 13:47:15] |
User719512 - Posts: 264 |
I would try/recommend setting the foreground and background explicitly for each different drawing and using a null brush when needed.
|
[2024-01-23 22:53:21] |
Sierra_Chart Engineering - Posts: 17177 |
There definitely is nothing wrong with that function. It is absolutely functioning and nothing has changed with it. We cannot provide further programming help. Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing Date Time Of Last Edit: 2024-01-23 22:53:27
|
To post a message in this thread, you need to log in with your Sierra Chart account: