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 Mindset, 04-21-2026, 06:46 AM
      0 responses
      67 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      96 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      53 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by cmoran13, 04-16-2026, 01:02 PM
      0 responses
      108 views
      0 likes
      Last Post cmoran13  
      Started by PaulMohn, 04-10-2026, 11:11 AM
      0 responses
      63 views
      0 likes
      Last Post PaulMohn  
      Working...
      X