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 Mindset, Today, 06:46 AM
|
0 responses
11 views
0 likes
|
Last Post
by Mindset
Today, 06:46 AM
|
||
|
Started by M4ndoo, Yesterday, 05:21 PM
|
0 responses
17 views
0 likes
|
Last Post
by M4ndoo
Yesterday, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
15 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|
||
|
Started by cmoran13, 04-16-2026, 01:02 PM
|
0 responses
82 views
0 likes
|
Last Post
by cmoran13
04-16-2026, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
48 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|

Comment