Skip to content
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

feat: added spline functionality #240

Merged
merged 5 commits into from
Sep 2, 2019
Merged

feat: added spline functionality #240

merged 5 commits into from
Sep 2, 2019

Conversation

nniclas
Copy link
Contributor

@nniclas nniclas commented Aug 24, 2019

Explanation About What Code Achieves:

Spline option added to line chart.
createSplineCurve() added to draw utils, returns an svg path string from xy lists.

Screenshots/GIFs:

spline

Steps To Test:

Add a line chart and configure option with: lineOptions: { spline: true }

TODOs:
  • None

@coveralls
Copy link

coveralls commented Aug 24, 2019

Pull Request Test Coverage Report for Build 126

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 38.158%

Totals Coverage Status
Change from base Build 122: 0.0%
Covered Lines: 29
Relevant Lines: 62

💛 - Coveralls

.eslintrc.json Outdated Show resolved Hide resolved
src/js/utils/draw-utils.js Outdated Show resolved Hide resolved
src/js/utils/draw.js Outdated Show resolved Hide resolved
src/js/utils/draw.js Outdated Show resolved Hide resolved
src/js/utils/animate.js Outdated Show resolved Hide resolved
@scmmishra
Copy link
Contributor

Hey @nniclas great work with the PR. Hope to merge it soon and release it, I've made a few suggestions, mostly regarding style please refer the thread for the same.

Co-Authored-By: Shivam Mishra <scmmishra@users.noreply.github.com>
@nniclas
Copy link
Contributor Author

nniclas commented Aug 30, 2019

Sure, I'd be happy to contribute, the library is great. Suggestions are good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants