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 Mindset, 04-21-2026, 06:46 AM
    0 responses
    64 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    93 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    48 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    106 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    63 views
    0 likes
    Last Post PaulMohn  
    Working...
    X