Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Colorize time axis on chart

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

    Colorize time axis on chart

    Is there a way to highlight/colorize the time axis on the chart?

    Basically on the simze access where the chart time appears is there a way to colorize that area?

    #2
    Hello WHICKED,

    Thanks for your post.

    You could change the color of the Axis on the chart in the chart's Properties window. You could right-click on the chart, select Properties, locate the Lines section in the Properties window, click the drop-down arrow next to Axis, then use the Color drop-down menu to select a color.

    This could be accomplished programmatically by using ChartControl.Properties.AxisPen. See the attached example script demonstrating this.

    ChartControl Properties: https://ninjatrader.com/support/help...properties.htm
    Stroke class: https://ninjatrader.com/support/help...roke_class.htm

    Let us know if we may assist further.

    Attached Files
    <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

    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