Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Plotting a line with opacity

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    Originally posted by cclsys View Post
    Thanks, Ralph. I've kicked it around and what I get with 255 is no number for opacity, then three numbers. If I change it back to 125, then I get 125 followed by the three numbers.
    This topic is complicated enough and I gave you the wrong instruction in addition, sorry about that. I wrote to use an opacity of 255 but ment an value of 254. This makes the big difference. The color is still nearly opaque but the color is presented as 4 numbers.

    Regards
    Ralph

    Comment


      #17
      Originally posted by cclsys View Post
      As far as I can tell, it makes no difference. I also tried changing the colorup,down,side & opacity value to Browsable = true in the Properties section, but - apart from getting them displayed - it also made no difference. Changing the opacity to 255 just meant the opacity number was not in the drop-down box, although you can still type in a different number, i.e. 125, and it works fine. But to change the colors - thus far at least - the only way to do it is in the code and reload the instrument.
      I think we can conclude the following:

      Your concept with the own color definitions in conjunction with an opacity value in property-grid is worthless, because you don't get these values into the plot-definitions after they have been set-up once.

      As a workaround you still can type in the colors as the 4-number-representation into the plot-property to get the desired opacity.

      A clean/final solution would be to add an additional field to the plot-property definition (opacity or transparency). But that's something to be done by NT.

      Regards
      Ralph

      Comment


        #18
        Ralph, thanks for your help and the suggestion, I'll let development know.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CaptainJack, 05-29-2026, 05:09 AM
        0 responses
        213 views
        0 likes
        Last Post CaptainJack  
        Started by CaptainJack, 05-29-2026, 12:02 AM
        0 responses
        122 views
        0 likes
        Last Post CaptainJack  
        Started by charlesugo_1, 05-26-2026, 05:03 PM
        0 responses
        145 views
        0 likes
        Last Post charlesugo_1  
        Started by DannyP96, 05-18-2026, 02:38 PM
        1 response
        228 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        189 views
        0 likes
        Last Post CarlTrading  
        Working...
        X