Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Displaying Opacity To a Stroke UI Properties

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

    Displaying Opacity To a Stroke UI Properties

    In the KagiStyle ChartStyle within the State.SetDefault section there is a command that is defaulting the color for Stroke property.

    Code:
     Stroke = new Gui.Stroke(System.Windows.Media.Brushes.LimeGreen, 3) { IsOpacityVisible = false };
    If I set IsOpacityVisible = true, I do not get the Opacity UI Property to display within the stroke group.

    What is IsOpacityVisible used for? How can a display the Opacity UI Property for a stroke?

    #2
    Hello GARZONJ,

    I tried a test with the property and see the same result as you, the property seems to not cause any change.

    I don't see that this is a documented property so I am not sure if this was previously needed for some reason and no longer is. I don't see a discernible change by toggling this. I also do not see any of the other type using this so it is safe to say you can exclude this from your code at this point.

    Are you specifically trying to cause the opacity to show up for your script? You can type in the opacity using hex values but there would not currently be the opacity field.

    Comment


      #3
      Thanks for looking into this. I thought I was doing something wrong. I would come up with a separate field and apply the UI value to the stroke.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      81 views
      1 like
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      42 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      64 views
      2 likes
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      66 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      54 views
      0 likes
      Last Post CarlTrading  
      Working...
      X