Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Change tab color

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

    Change tab color

    Hello

    Is there a way to change the color of my chart's tab either by GUI or code?

    Thanks

    #2
    Hello kiss987,

    If this is possible, this would be outside of what is supported by NinjaTrader Support.

    But I can provide a tip on how to find and cast the currently selected tab,

    Code:
    foreach (TabItem tab in chartWindow. MainTabControl .Items )
    if ((tab . Content as ChartTab ).ChartControl == ChartControl && tab == chartWindow . MainTabControl. SelectedItem )
    I use this when I'm trying to make sure a control only appears for the currently selected tab. Below is a link to some examples.
    Hello All, Moving forward this will be maintained in the help guide reference samples and no longer maintained on the forum. Creating Chart WPF (UI) Modifications from an Indicator - https://ninjatrader.com/support/help...ui)-modifi.htm (https://ninjatrader.com/support/helpGuides/nt8/creating-chart-wpf-(ui)-modifi.htm) I've


    But once you have the tab object you are looking for, you can check to see if the Brush or Stroke or anything along those lines can be changed.
    Looks like you will need to apply a custom style.
    Below is a public link to a 3rd party website I found through a google search.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      May I ask for a feature request? Thanks

      Comment


        #4
        Hello kiss987,

        I will submit a feature request on your behalf for the NinjaTrader Development to consider documenting a supported way to change tab colors.

        Once I have a tracking ID for this request I will forward this to you for future reference.
        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          Hello kiss987,

          I have received tracking ID #SFT-1812 for your request for a documented way to change tab colors.

          Please note it is up to the NinjaTrader Development to decide if or when any request will be implemented.
          Chelsea B.NinjaTrader Customer Service

          Comment


            #6
            Hello,

            Was it possible to implement the change of tabs in charts individually?

            Regards
            Last edited by anmir55; 02-12-2023, 05:03 AM.

            Comment


              #7
              Hello anmir55,

              Unfortunately this feature request has not been implemented. It is still on the list of possible future enhancements. If you like me to forward your vote for this feature request, please let me know.
              JasonNinjaTrader Customer Service

              Comment


                #8
                Please add my vote to this request.

                I track multiple instruments in the same window with multiple tabs. Separating each instrument by color would be a very quick way to get a better overview.

                Thanks.

                Comment


                  #9
                  Hello Johnny,

                  I have added your vote for SFT-1812. Thank you for your feedback.
                  JasonNinjaTrader Customer Service

                  Comment


                    #10
                    Any news on this?

                    Would be a great feature.

                    I have a lot of tabs on my charts and colors would be a great way to separate instruments for quick navigation.

                    Thanks.

                    Comment


                      #11
                      The suggestion is still on the list of possible feature requests. Unfortunately there is no information if or when the feature request will be implemented.
                      JasonNinjaTrader Customer Service

                      Comment

                      Latest Posts

                      Collapse

                      Topics Statistics Last Post
                      Started by funk10101, Today, 12:02 AM
                      1 response
                      10 views
                      0 likes
                      Last Post NinjaTrader_LuisH  
                      Started by GLFX005, Today, 03:23 AM
                      1 response
                      6 views
                      0 likes
                      Last Post NinjaTrader_Erick  
                      Started by nandhumca, Yesterday, 03:41 PM
                      1 response
                      12 views
                      0 likes
                      Last Post NinjaTrader_Gaby  
                      Started by The_Sec, Yesterday, 03:37 PM
                      1 response
                      11 views
                      0 likes
                      Last Post NinjaTrader_Gaby  
                      Started by vecnopus, Today, 06:15 AM
                      0 responses
                      1 view
                      0 likes
                      Last Post vecnopus  
                      Working...
                      X