Which approach is more efficient / performant for ninja?
Option 1: Redraw the entire line on each new bar.
Remember the name, start X,Y coords & extend it to the new bar [0]
Option 2: Create new line segments from Bar[1] to Bar[0] that just extend the line(s).
The Option 2 is easier to code as there is less information to track, but I'm concerned about causing Ninja to track 100's of little "1 bar width" line segments that are used to draw the complete line.
That said, it may be easier as no need to clip the longer lines that extend off the plot area.
Could someone from Ninja tell me which approach works better for the Ninja Charting engine?
Comment