-
-
Notifications
You must be signed in to change notification settings - Fork 454
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add XYBezierRenderer to jfreechart #286
Conversation
plot charts using Bezier curves (the tension parameter controls how the curve bends arround the points
This looks really interesting, I will take a closer look |
I'm glad to hear that. Do not hesitate to ask me if you need further details. |
The link didn't work for me. Anyway I created a small demo program to try out the renderer (see below). It seems to work well for the line rendering but I noticed the
|
For reference, I get the same result:
|
Typing |
Ah, that link works. Looks very nice. |
Fix bug at FillType options for XYBezierRenderer
This is fantastic! When can it get merged? |
I have uploaded the code but I don know how to merge the pull request. |
@coreagile : Pending a merge by the owner, anyone can clone JRobes' JFreeChart fork, found here, and test it as shown here. @JRobes : I haven't had a chance to look at your later commits. If I understand correctly, you would only need to consider merging pull requests submitted by others to your fork. This workflow guide may be relevant. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Trying to merge this pull request
@JRobes: I don't think you can merge into the main branch of this repository; your pull request appears to include changes that you pushed to your fork. In the interim, others can clone your brach for study, as show here. Alternatively, it looks like others can merge your fork into theirs; see How to apply unmerged upstream pull requests from other forks into my fork, but I have't tried it. |
Merged, thanks. |
Plot charts using Bezier curves.
With Bezier curves you can control how the curve fits (bends) to the points on the graph. This is done with the parameter 'tension'
This solution arises from the problem defined in stackoverflow:
StackOverflow question
XYBezierRenderer extends XYLineAndShapeRenderer.
XYBezierRendererTest has been also added to branch.