Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Plots[n].Pen?

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

    Plots[n].Pen?

    I thought that you were dispensing with Pens to describe Plots? No.

    So why do we have Plots[n].Pen and no Plots[n].Stroke?

    #2
    A NinjaTrader.Gui.Plot is a NinjaTrader.Gui.Stroke, which is drawn with a System.Windows.Media.Pen

    In early beta, what we removed was the mixing of Pens/Strokes in the Add..() overloads. We wanted simplify to one type of resource use to create the object to be rendered (creating a stroke wouldn't need to be frozen by a user, where a pen would... ). Those rendered objects will still have a Pen field on it.

    Any freezing of pens is done internally by the stroke class, which is why we went that approach.
    MatthewNinjaTrader Product Management

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    51 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    30 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    99 views
    0 likes
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    177 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    170 views
    0 likes
    Last Post CarlTrading  
    Working...
    X