Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Assigning Values for DashStyles

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

    Assigning Values for DashStyles

    Dear Support,

    The following assigned value for Width in NT8 works fine:

    Plots[0].Width = 1;

    However, The same for the following DashStyle assignment does not compile:

    Plots[0].DashStyle = DashStyleHelper.Dot;

    What is the working syntax?

    Thanks.

    #2
    Hello,

    For future reference, I am including a link to the NinjaTrader 8 Beta section of the forums.


    Setting the DashStyleHelper does not appear to cause an error on my end.

    Are you able to run the attached test script?

    What version of NinjaTrader 8 Beta are you using?
    (Help -> About)
    Attached Files
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_ChelseaB View Post
      Hello,

      For future reference, I am including a link to the NinjaTrader 8 Beta section of the forums.


      Setting the DashStyleHelper does not appear to cause an error on my end.

      Are you able to run the attached test script?

      What version of NinjaTrader 8 Beta are you using?
      (Help -> About)
      Thanks ChelseaB,

      Looking at your code, I was using the following setting:

      Plots[0].DashStyle = DashStyleHelper.Dot;

      instead of:

      Plots[0].DashStyleHelper = DashStyleHelper.Dot;

      Issue fixed, Thanks.

      Cheers!

      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