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 SalmaTrader, 07-07-2026, 10:26 PM
    0 responses
    36 views
    0 likes
    Last Post SalmaTrader  
    Started by CarlTrading, 07-05-2026, 01:16 PM
    0 responses
    20 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 06-17-2026, 10:32 AM
    0 responses
    14 views
    0 likes
    Last Post CaptainJack  
    Started by kinfxhk, 06-17-2026, 04:15 AM
    0 responses
    20 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 06-17-2026, 04:06 AM
    0 responses
    22 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Working...
    X