Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Resizing panels

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

    Resizing panels

    Looking for a way to accomplish this without manually dragging. For instance, say I had two stochastics in panels 2,3, and then another chart in panel 4. Is there a way I can resize two of the panels to be exactly 50% of their original size? By entering a value somewhere? Clicking and dragging the panel splitter is not very precise. If I am using similar indicators and have them side by side, and I want the indicator panels to all have the same exact height, and then all the chart panels to have the same height... clicking and dragging doesn't really guarantee this. Say I want the charts to be 40% each but the indicators to take up 10% each. In the properties sidebar I see there are margin options for within the panels, but what about for the entire window? Is there no place to choose the exact % each panel is taking up on the chart? Thanks.

    There must be someplace I can edit this as there is a default value somewhere for when you add new panels?
    Last edited by augustfay; 04-17-2021, 05:06 AM.

    #2
    Hello augustfay,

    Thank you for your post.

    Unfortunately, there isn't a menu option within NinjaTrader to accomplish this.

    Please do not hesitate to contact us for any other NinjaTrader inquiries you may have.

    Comment


      #3
      It appears people have been requesting this as a feature for over a decade... is there a way I can resize it via NinjaScript? Can you point me to where?

      Comment


        #4
        Hello augustfay,

        Unfortunately, changing the chart size or panel sizes is not supported in NInjaScript.
        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          you can do this: Dispatcher.InvokeAsync(() =>
          {
          var chartWindow = Window.GetWindow(ChartControl.OwnerChart);
          if (chartWindow != null)
          {
          chartWindow.Width = 850;
          chartWindow.Height = 600;
          }
          });​

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          559 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          324 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          101 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          546 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          547 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X