3

I am generating line chart using jfree chart, but I am able to generate a line chart which is not looking so good. I want to generate an image like the following

image

Can anybody please suggest any solution?

trashgod
  • 200,320
  • 28
  • 229
  • 974
Vidya Sagar
  • 125
  • 1
  • 3
  • 9

2 Answers2

5

If you already have a line chart, you will have to change the renderer you use to XYSplineRenderer. See the javadocs for this here.

Dan D.
  • 32,096
  • 5
  • 61
  • 79
  • See this: http://meta.stackexchange.com/questions/16721/how-does-accept-rate-work/65088#65088 – Dan D. Sep 26 '12 at 09:55
1

ArcTest shows how to use an XYShapeAnnotation that can be any Shape at all.

Community
  • 1
  • 1
trashgod
  • 200,320
  • 28
  • 229
  • 974