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 junkone, Today, 11:37 AM
      0 responses
      3 views
      0 likes
      Last Post junkone
      by junkone
       
      Started by quantismo, 04-17-2024, 05:13 PM
      5 responses
      34 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Started by proptrade13, Today, 11:06 AM
      1 response
      6 views
      0 likes
      Last Post NinjaTrader_Clayton  
      Started by love2code2trade, 04-17-2024, 01:45 PM
      4 responses
      34 views
      0 likes
      Last Post love2code2trade  
      Started by cls71, Today, 04:45 AM
      2 responses
      10 views
      0 likes
      Last Post eDanny
      by eDanny
       
      Working...
      X