dynamic - Removing Points From the Start of a Chart When Past a Certain Size in C# -


i writing data chart com port during run time. such, chart dynamically updating gets increasingly bigger, scale changes making line smaller , smaller. wish stop deleting points off front of chart after it's big.

            if (chartmain.series.points.count() >= 120)             {                 chartmain.series[0].points.removeat(0);             } 

i need deletes first point after size scale remains same. however, not work in it's current form , unsure in how approach problem. can point me in right direction? thank in advance.


Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

python - Error: Unresolved reference 'selenium' What is the reason? -

asp.net ajax - Jquery scroll to element just goes to top of page -