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

Making Line chart use straight lines rather than bezier curves #1762

Closed
gfarrell opened this issue Dec 10, 2015 · 4 comments
Closed

Making Line chart use straight lines rather than bezier curves #1762

gfarrell opened this issue Dec 10, 2015 · 4 comments

Comments

@gfarrell
Copy link

This isn't documented, but I'm assuming that tension: 0 (or maybe tension: 1?) will make the lines straight?

@gfarrell
Copy link
Author

(in version 2)

@etimberg
Copy link
Member

Tension 0 creates straight lines.

@gfarrell
Copy link
Author

No it doesn't. You must be doing something equivalent to tension = tension || someDefault where tension is checked for being falsy. tension = 0 results in the default tension of 0.4 being used, while tension = 0.001 results in straight lines.

Problems in controllers/controller.line.js (149, 243) and controllers/controller.radar.js (141, 180).

@etimberg
Copy link
Member

Closing since #1774 was merged.

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

No branches or pull requests

2 participants