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

4x4 Matrix in Python -

wso2is - WSO2 IS 5.0.0 SP1 After restart there is authentication error -

python - String indices must be integers and while issue -