Support Board
Date/Time: Fri, 28 Feb 2025 13:32:29 +0000
[Programming Help] - Question about DRAWSTYLE_CUSTOM_VALUE_AT_Y subgraph
View Count: 732
[2021-08-19 17:23:08] |
User275839 - Posts: 61 |
Hi - I am working on a custom study that plots a DRAWSTYLE_CUSTOM_VALUE_AT_Y subgraph element on top of a separate DRAWSTYLE_SQUARE subgraph element. I looks like the attached image. I would like the background of the DRAWSTYLE_CUSTOM_VALUE_AT_Y subgraph element (numeric value) to be the same color as the DRAWSTYLE_SQUARE subgraph element. However, whenever I modify the SecondaryColor value of the DRAWSTYLE_CUSTOM_VALUE_AT_Y subgraph, it changes the background color on ALL the previously rendered elements as well. How can I modify the background color of the DRAWSTYLE_CUSTOM_VALUE_AT_Y subgraph elements for each bar, and have the color stick? Thanks for any guidance on this! |
![]() |
[2021-08-19 18:05:52] |
User907968 - Posts: 833 |
Is there any reason you can't just use 'DRAWSTYLE_TRANSPARENT_CUSTOM_VALUE_AT_Y'?
|
[2021-08-19 18:48:06] |
User275839 - Posts: 61 |
Ah-ha-ha! That was easy, wasn't it? :) Looks great now. Thank you! |
To post a message in this thread, you need to log in with your Sierra Chart account: