Login Page - Create Account

Support Board


Date/Time: Fri, 03 May 2024 16:37:53 +0000



[Programming Help] - Question about DRAWSTYLE_CUSTOM_VALUE_AT_Y subgraph

View Count: 469

[2021-08-19 17:23:08]
User275839 - Posts: 57
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!
imageDRAWSTYLE_CUSTOM_VALUE_AT_Y.jpg / V - Attached On 2021-08-19 17:22:17 UTC - Size: 42.12 KB - 126 views
[2021-08-19 18:05:52]
User907968 - Posts: 802
Is there any reason you can't just use 'DRAWSTYLE_TRANSPARENT_CUSTOM_VALUE_AT_Y'?
[2021-08-19 18:48:06]
User275839 - Posts: 57
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:

Login

Login Page - Create Account