Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Performance hit when too many line objects

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

    Performance hit when too many line objects

    Hi;
    I developed an indicator highlighting zones on my chart and use lines for top and bottom of zone. I have noticed a significant hit on performance when too many zones are placed on the chart. Is this related to the line object that I am using. If yes is there a better way drawing lines.

    Thanks
    Thomas

    #2
    Hi Thomas, how many unique objects do you create typically with this approach?

    Comment


      #3
      Usually 100 - 200 lines, which is not a problem, however depending on the timeframe I have run with up to 10000 lines, this is where performance goes down.

      Comment


        #4
        Thanks, yes at this level I would expect that - wouldn't it make sense than to limit the marking up to x sessions back for example, or do you need all this info for the current decisions?

        Comment


          #5
          Yes that is what I am currently doing working with less data which makes the performance much better.

          The other annoying thing (but I can live with it) is that some zones have their start and end time far apart, which means I can see the line at the beginning and at the end, but when scrolling the chart the mid section is not visible. I know though that this is a limitation of lines and rectangles that have their anchor point too far of the chart.

          Thanks again for the quick responses
          Thomas

          Comment


            #6
            You're welcome - correct that's a known limitation of the rendering approach but on my dev team's list look into enhancing for our next major update, I add your thoughts into our feedback tracking as well on this item.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by sjsj2732, 03-23-2026, 04:31 AM
            0 responses
            42 views
            0 likes
            Last Post sjsj2732  
            Started by NullPointStrategies, 03-13-2026, 05:17 AM
            0 responses
            295 views
            0 likes
            Last Post NullPointStrategies  
            Started by argusthome, 03-08-2026, 10:06 AM
            0 responses
            290 views
            0 likes
            Last Post argusthome  
            Started by NabilKhattabi, 03-06-2026, 11:18 AM
            0 responses
            135 views
            1 like
            Last Post NabilKhattabi  
            Started by Deep42, 03-06-2026, 12:28 AM
            0 responses
            98 views
            0 likes
            Last Post Deep42
            by Deep42
             
            Working...
            X