Login Page - Create Account

Support Board


Date/Time: Wed, 03 Dec 2025 18:38:11 +0000



Post From: ACSIL Question - Dynamic coloring of text labels

[2025-12-03 13:19:27]
gambcl - Posts: 13
Hi, I am drawing a text label using AddAndManageSingleTextDrawingForStudy, which is working fine.

What I would like to do is dynamically change the text/background colors of the label, depending on some threshold values.

I am uncertain how to dynamically change the text/background colors of the label because at the moment they come from the subgraph primary/secondary colors.

Is there a way to use the subgraph colors as the default and then override the label's text/background colors dynamically?

Or do I need to create separate subgraphs for each set of threshold colors and just specify the relevant subgraph to change the label colors?