Hi, There is an issue with the performance of the sfChart when one or more chartrows contains a stripline which changes size and position as the user scrolls the chart. There is no problem however, if the stripline has a constant size and position.
Attached is a sample. Run the sample, press the Zoom 3 Days button and drag the scrollbar (quite small) to scroll the chart back and forth the whole range. The two red striplines for the volume1 and volume2 chartrows constantly update themselves to fill the range from 0 to 50 on their yaxis. The performance is quite sluggish. Now, turn off the Update Striplines checkmark and scroll again. The striplines do not update, so they will move beyond their chartrows some times. The performance however is now better, about twice as responsive.
The reason for this is because when the striplines change size and position via the SetStriplinesPosition sub, the CalculateVisibleRange sub in the CustomDateTimeCategoryXAxis class is called twice for no apparent reason. More important, the Update sub in the CustomFastStepLineBitmapSegment class is also called twice whereas when the checkmark is off, it's only called once. There should be no reason for it to be called twice.
How can the performance be improved while having the striplines update properly while scrolling?