Issue in XYSplineRenderer

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
suchiandharia
Posts: 3
Joined: Mon Oct 31, 2011 9:52 am
antibot: No, of course not.

Issue in XYSplineRenderer

Post by suchiandharia » Mon Oct 31, 2011 10:11 am

When I tried to use XYSplineRenderer, the chart and has two issues:
1) It does not have a smooth curve and has corners points
2) the graph line goes below and above the actual values

Note: I am unable to attach an image here in the post.

suchiandharia
Posts: 3
Joined: Mon Oct 31, 2011 9:52 am
antibot: No, of course not.

Re: Issue in XYSplineRenderer

Post by suchiandharia » Mon Oct 31, 2011 12:03 pm

The first issue is resolved by passing "precision" in constructor parameter.
Does anyone have solution for second issue?

ana
Posts: 3
Joined: Thu Sep 28, 2017 7:29 am
antibot: No, of course not.

Re: Issue in XYSplineRenderer

Post by ana » Mon Oct 02, 2017 6:58 am

Any solution this issue.
I have same issue in ireport. pls reply if any one got solution of it.

ana
Posts: 3
Joined: Thu Sep 28, 2017 7:29 am
antibot: No, of course not.

Re: Issue in XYSplineRenderer

Post by ana » Thu Oct 05, 2017 1:14 pm

Hey, not a single reply yet :shock: ..
pls help..how to solve this issue.

paradoxoff
Posts: 1634
Joined: Sat Feb 17, 2007 1:51 pm

Re: Issue in XYSplineRenderer

Post by paradoxoff » Thu Oct 05, 2017 8:34 pm

ana wrote:pls help..how to solve this issue.
What issue? The "smoothness" of the curve should be corrected by the precision parametzer as suggested above, and the issue with the curve going above or below the actual data points cant be solved. If you interpolation a spline between data points, and the y values of the data points are not monotonously increasing or decreasing but go through some kind of minimum or maximum, then the interpolation curve may gop easily above or below the data points.

ana
Posts: 3
Joined: Thu Sep 28, 2017 7:29 am
antibot: No, of course not.

Re: Issue in XYSplineRenderer

Post by ana » Sat Oct 07, 2017 1:57 pm

paradoxoff wrote:What issue? The "smoothness" of the curve should be corrected by the precision parametzer as suggested above, and the issue with the curve going above or below the actual data points cant be solved. If you interpolation a spline between data points, and the y values of the data points are not monotonously increasing or decreasing but go through some kind of minimum or maximum, then the interpolation curve may gop easily above or below the data points.
ok.,thanks paradoxoff.

Locked