Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Scrolling chart by X bars

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

    Scrolling chart by X bars

    Hi,

    Is it possible to scroll chart horizontally back and/or forth programmatically?

    #2
    Hello alex.nt,

    Thank you for your post.

    This is unfortunately not possible.

    Comment


      #3
      Hi alex.nt

      It is possible. You need to write a mouse emulator. It is messy but it does work. Having done it, it was more trouble than it was worth it. I ended up rethinking the project and coding it a different way.

      Comment


        #4
        Yes, tampering with mouse emulation is always an option but you are very right - in most cases it is not worth it and indeed it's better to rethink the project.

        By the way (may be someone will find that useful too), as far as I know it is possible to set margins for chart, i.e. to ensure that some drawing/text objects are still visible even though they are further than the last bar.

        Comment


          #5
          Hi alex,nt,

          Yes. It is possible to set the margins and I have done it. It does come in usefull at times.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          633 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          364 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          105 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          567 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          568 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X