Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

ChartControl.GetAxisBrush

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

    ChartControl.GetAxisBrush

    I'm trying to find an equivalent NT8 call for this:

    Code:
    ChartControl.GetAxisBrush(ChartControl.BackColor).Color;
    I know that this was one of the undocumented calls in NT7 but any pointers would be appreciated.

    #2
    You can use:

    Code:
    ChartControl.Properties.ChartText;
    Which will get you the brush of the text that is configured on the chart.

    Or you can use:

    Code:
    ChartControl.Properties.AxisPen;
    Which will get you the thin line drawn around the chart area. This were the same property in NT7 but have been separated in NinjaTrader 8.

    More Chart Control properties and their definitions are found here:

    MatthewNinjaTrader Product Management

    Comment


      #3
      Thanks - ChartControl.Properties.AxisPen.Brush works fine.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by hazylizard, Today, 08:38 AM
      3 responses
      10 views
      0 likes
      Last Post NinjaTrader_Erick  
      Started by geddyisodin, Today, 05:20 AM
      2 responses
      18 views
      0 likes
      Last Post geddyisodin  
      Started by Max238, Today, 01:28 AM
      5 responses
      47 views
      0 likes
      Last Post Max238
      by Max238
       
      Started by giulyko00, Yesterday, 12:03 PM
      3 responses
      13 views
      0 likes
      Last Post NinjaTrader_BrandonH  
      Started by habeebft, Today, 07:27 AM
      1 response
      16 views
      0 likes
      Last Post NinjaTrader_ChristopherS  
      Working...
      X