Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

chart color

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

    chart color

    hell ... how do I change the background color for the entire chart (all bars)?

    #2
    Hello pman777, to change the color across all panels you can use BackColorAll in NinjaScript - https://www.ninjatrader.com/support/...ckcolorall.htm

    Comment


      #3
      Thanks, is there a command that changes the background color for all of the bars?

      Comment


        #4
        Another option would be doing it per panel then with just the regular BackColor call to change.

        Comment


          #5
          Vin, you could run a loop and do a BackColor at each historical bar location up to the present.
          eDanny
          NinjaTrader Ecosystem Vendor - Integrity Traders

          Comment


            #6
            Originally posted by pman777 View Post
            Thanks, is there a command that changes the background color for all of the bars?
            Not supported because it accesses ChartControl, but you can assign a desired color to ChartControl.BackColor.

            Comment


              #7
              You could also select an image file and use it as a background for your chart ....
              Attached Files

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Geovanny Suaza, 02-11-2026, 06:32 PM
              0 responses
              576 views
              0 likes
              Last Post Geovanny Suaza  
              Started by Geovanny Suaza, 02-11-2026, 05:51 PM
              0 responses
              334 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
              553 views
              1 like
              Last Post Geovanny Suaza  
              Started by RFrosty, 01-28-2026, 06:49 PM
              0 responses
              551 views
              1 like
              Last Post RFrosty
              by RFrosty
               
              Working...
              X