Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Draw.TextFixed, TextAlignment

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

    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.

    #2
    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:
    Code:
    TextFixed myTF = Draw.TextFixed(this, "awesomeText", "This is awesome", TextPosition.Center);
    myTF.Alignment = TextAlignment.Left;
    More about the TextFixed object can be found here: http://ninjatrader.com/support/helpG...?textfixed.htm

    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

    Comment


      #3
      Hello TheBarChartist,

      Here is the internal tracking number for this suggestion:

      SFT-845

      Please use this number for any future inquiries on this feature request.
      Zachary G.NinjaTrader Customer Service

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Skifree, Today, 03:41 AM
      1 response
      2 views
      0 likes
      Last Post Skifree
      by Skifree
       
      Started by usazencort, Today, 01:16 AM
      0 responses
      1 view
      0 likes
      Last Post usazencort  
      Started by kaywai, 09-01-2023, 08:44 PM
      5 responses
      603 views
      0 likes
      Last Post NinjaTrader_Jason  
      Started by xiinteractive, 04-09-2024, 08:08 AM
      6 responses
      23 views
      0 likes
      Last Post xiinteractive  
      Started by Pattontje, Yesterday, 02:10 PM
      2 responses
      23 views
      0 likes
      Last Post Pattontje  
      Working...
      X