Click here to Skip to main content
15,885,278 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I create a winfrom preoject contains zedgraph control, at first i add about 4000 points into CurveList[x], call myCurve to add list to zedgraph, the units of this pointlist's XAxis is like (ms), when i choose it to (m), i through to each point's xValue divided by 1000, and call zedGraphControl.Refresh();
because Each point to cover each other the line looks like a squared pie chart , both maximize and minimize the winform , it respons slowly, likes struck

if there a way to avoid the zedgraph redraw quickly, and change each points's value not by divided or othen operator

I use this code to change points's xValue, and then refrech zedgraph
C#
for (int iLoop = 0; iLoop < zedGraphControl1.GraphPane.CurveList[1].Points.Count; iLoop++)
                        {
                            zedGraphControl1.GraphPane.CurveList[1].Points[iLoop].X /= 1000;
                        }
zedGraphControl.Refresh(); 


if anynone konw what i say and how to resolve this questions, please reply me, thanks
poor english
Posted
Updated 30-Jun-15 20:51pm
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900