For now I've managed a workaround with Draw.Text() using ChartBars.FromIndex and ChartPanel.MaxValue.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Draw.TextFixed, TextAlignment
Collapse
X
-
Draw.TextFixed, TextAlignment
I think it'd be nice to have the option to set TextAlignment within Draw.TextFixed(). Right now it is defaulting to centering the text and I have some big rectangles of text that don't look so hot.
For now I've managed a workaround with Draw.Text() using ChartBars.FromIndex and ChartPanel.MaxValue.Tags: None
-
Hello TheBarChartist,
Thank you for your inquiry.
You would be able to modify the alignment programmatically by creating a TextFixed object. Here is some sample code below:
More about the TextFixed object can be found here: http://ninjatrader.com/support/helpG...?textfixed.htmCode:TextFixed myTF = Draw.TextFixed(this, "awesomeText", "This is awesome", TextPosition.Center); myTF.Alignment = TextAlignment.Left;
I have submitted your suggestion to specify TextAlignment in a Draw.TextFixed() overload to product management. We highly appreciate feedback from our customers to improve NinjaTrader!
Please, let us know if we may be of further assistance.Zachary G.NinjaTrader Customer Service
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
672 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
379 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
111 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
575 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
582 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment