Search found 3 matches

by weihang
Thu Mar 22, 2007 2:05 am
Forum: JFreeChart
Topic: Smoothed Line & Anti-aliasing
Replies: 6
Views: 12363

Re: antialiasing

I tink that is fou have 200 points in a 400 pixel chart you don't need to smooth the line! If you do, the bezier curves are about a few pixels long, so make this strange effect. Another thing is the way you calculate the control points. I've posted the class I use, that makes a new dataset instead ...
by weihang
Wed Mar 21, 2007 7:35 am
Forum: JFreeChart
Topic: Smoothed Line & Anti-aliasing
Replies: 6
Views: 12363

Straight http://img177.imageshack.us/img177/9959/line14oq8.png Smooth http://img178.imageshack.us/img178/989/smoothedline14bq7.png Smooth http://img176.imageshack.us/img176/9366/smoothedline14markerstp2.png Smooth (200 data points) http://img157.imageshack.us/img157/365/smoothedrp4.png
by weihang
Wed Mar 21, 2007 7:33 am
Forum: JFreeChart
Topic: Smoothed Line & Anti-aliasing
Replies: 6
Views: 12363

Smoothed Line & Anti-aliasing

Hello all, As far as I know, there are quite a few people (including myself) looking for a renderer that renders a smooth line through all data points in a dataset. Instead of waiting for a complete solution, I decided to implement my own smoothed line renderer. I did some search on google and found...