NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com


Go Back   NinjaTrader Support Forum > NinjaScript Development Support > General Programming

General Programming General NinjaScript programming questions.

Reply
 
Thread Tools Display Modes
Old 02-13-2009, 09:18 AM   #1
clearpicks
Senior Member
 
Join Date: Jan 2008
Posts: 257
Thanks: 0
Thanked 0 times in 0 posts
Default Is it possible to align the top/bottom of a string to a specified y value?

Hello,

Is it possible to align the top/bottom of a string to a specified y value? It seems StringAlignment only controls the alignment along x direction. In eSignal EFS, it is possible to specify flags such as Text.RELATIVETOTOP, Text.RELATIVETOBOTTOM and Text.VCENTER to meet different needs.

- Clearpicks


clearpicks is offline  
Reply With Quote
Old 02-13-2009, 09:41 AM   #2
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
Default

clearpicks,

If you use DrawTextFixed() you can place the string in fixed locations on screen not linked to the x or y scale. If you use DrawText() you can put the text locked to a certain x and y value.
NinjaTrader_Josh is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I draw an arrow that stays on the top or bottom of a price chart? atangram Indicator Development 9 12-18-2010 02:59 PM
Top/Bottom margins on chart higler Charting 1 02-12-2009 01:17 PM
how to read top or bottom of chart? NinjaCustomer Indicator Development 5 05-18-2008 10:20 PM
Volume Bar on Top/Bottom of Price Candle? shortorlong Indicator Development 0 03-25-2008 12:20 AM
chart get compressed down at bottom nkhoi Miscellaneous Support 2 01-28-2008 06:07 AM


All times are GMT -6. The time now is 03:44 PM.