So why do we have Plots[n].Pen and no Plots[n].Stroke?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Plots[n].Pen?
Collapse
X
-
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
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
24 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
25 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|
||
|
Started by CaptainJack, 03-25-2026, 09:53 PM
|
0 responses
30 views
0 likes
|
Last Post
by CaptainJack
03-25-2026, 09:53 PM
|
||
|
Started by CaptainJack, 03-25-2026, 09:51 PM
|
0 responses
18 views
0 likes
|
Last Post
by CaptainJack
03-25-2026, 09:51 PM
|
||
|
Started by Mindset, 03-23-2026, 11:13 AM
|
0 responses
27 views
0 likes
|
Last Post
by Mindset
03-23-2026, 11:13 AM
|

Comment