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 cincai, Yesterday, 08:18 PM
    1 response
    11 views
    0 likes
    Last Post NinjaTrader_ChrisL  
    Started by kiffgj, Today, 04:23 AM
    0 responses
    10 views
    0 likes
    Last Post kiffgj
    by kiffgj
     
    Started by Lando Calrissian, Today, 07:30 AM
    1 response
    4 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Started by lismartin, Yesterday, 04:47 PM
    1 response
    15 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by facuevasm, Today, 07:28 AM
    3 responses
    13 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Working...
    X