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 CarlTrading, 03-31-2026, 09:41 PM
          1 response
          128 views
          1 like
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 04-01-2026, 02:41 AM
          0 responses
          74 views
          1 like
          Last Post CarlTrading  
          Started by CaptainJack, 03-31-2026, 11:44 PM
          0 responses
          116 views
          2 likes
          Last Post CaptainJack  
          Started by CarlTrading, 03-30-2026, 11:51 AM
          0 responses
          110 views
          1 like
          Last Post CarlTrading  
          Started by CarlTrading, 03-30-2026, 11:48 AM
          0 responses
          89 views
          0 likes
          Last Post CarlTrading  
          Working...
          X