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 cmoran13, 04-16-2026, 01:02 PM
        0 responses
        43 views
        0 likes
        Last Post cmoran13  
        Started by PaulMohn, 04-10-2026, 11:11 AM
        0 responses
        27 views
        0 likes
        Last Post PaulMohn  
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        163 views
        1 like
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        98 views
        1 like
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        158 views
        2 likes
        Last Post CaptainJack  
        Working...
        X