Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Programmatically set the time axis

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

    Programmatically set the time axis

    Hi,

    instead of having to drag the x-axis left and right to time-scale the chart, is there a way to do this programmatically?

    Is there an equivalent for the x-axis of ChartControl.FixedPanelMinRight?

    I'd like to create some buttons in the toolstrip to set different time axis ranges.

    note - still searching I found a thread that talks about chartcontrol.scale and barspacing and such. Would this be the right approach, and is it possible to set the scale? or would I have to change the bar size and spacing?

    Thanks.
    Last edited by dontpanic; 04-08-2015, 06:22 PM.

    #2
    Hello dontpanic,

    Thanks for your post.

    There are no NinjaTrader supported methods to accomplish your goals.

    However, this thread will remain open for any community members to comment in.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    574 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    333 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