WinForms Plot
-
Does anyone know if there's a Windows.Forms Control aviable I can use to create graphs (like SCPL), which has the possibility to set the axes in the center (not just Y-axis all-left and X-axis on the bottom)? I need to use it to draw math functions (very simple ones, form y=ax+b), but all controls I can find put the Y-axis on the left and the X one on the bottom :S. Being able to display points on integer positions (like (1,1),(1,2),(2,3),(-1,-5),(-1,6) and so on) would be a plus. Thanks, Ikke
-
Does anyone know if there's a Windows.Forms Control aviable I can use to create graphs (like SCPL), which has the possibility to set the axes in the center (not just Y-axis all-left and X-axis on the bottom)? I need to use it to draw math functions (very simple ones, form y=ax+b), but all controls I can find put the Y-axis on the left and the X one on the bottom :S. Being able to display points on integer positions (like (1,1),(1,2),(2,3),(-1,-5),(-1,6) and so on) would be a plus. Thanks, Ikke
-
Well int axisX = this.Width/2; int axisY = this.Height/2; a line with x and y MoveTo(x+axisX, y+axisY); I'm not an expert yet, but I play one at work. Yeah and here too.
-
Mmm, you mean this little piece of code to write my own control? I can figure this out myself (really true LOL), but I doint know GDI+ :( (and Im too lazy LOL)