Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Simple color question

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

    Simple color question

    I just want to change a horizontal line from it's default DarkGray to using a custom color of 40,40,40.... I can't find the code reference for using custom colors anywhere. Please help.

    It's currently:

    Add(new Line(Color.DarkGray, 0.04, "Line +4"));

    Many thanks

    #2
    Try: Color.FromArgb(40, 40, 40)
    Josh P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by twitch251, Today, 05:14 PM
    1 response
    4 views
    0 likes
    Last Post NinjaTrader_ShawnB  
    Started by robforee2, Today, 05:07 PM
    0 responses
    1 view
    0 likes
    Last Post robforee2  
    Started by blar58, Today, 03:16 PM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_Melissa  
    Started by alcorr247, Today, 02:52 PM
    2 responses
    7 views
    0 likes
    Last Post robforee2  
    Started by Radano, Today, 02:30 PM
    1 response
    4 views
    0 likes
    Last Post NinjaTrader_ChrisL  
    Working...
    X