the code below bit of have far me draw graph need code helps me draw curve , draw x , y axis.
private void drawcurve(graphics g, string[] values) { thread t = new thread(); t.start(); g.setcolor(color.white); g.fillrect(0, 0, this.getwidth(), this.getheight()); g.setcolor(color.red); // todo draw curve here g.setcolor(color.black); // todo draw x , y axis here }
you asking finish work, instead of asking question. however, documentation might little: dwaring geometric primitives, or excelent curves tutorial. luck!
Comments
Post a Comment