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

Line renders strangely when there are "holes" in data #44

Closed
krisskross opened this issue Dec 19, 2013 · 9 comments
Closed

Line renders strangely when there are "holes" in data #44

krisskross opened this issue Dec 19, 2013 · 9 comments
Assignees
Labels

Comments

@krisskross
Copy link

line

@krisskross
Copy link
Author

n3-charts is awesome!

This rendering is something i discovered when there are large holes in the data points.

Not sure how this should render,really, but it looks kind of ugly as of right now.

@lorem--ipsum
Copy link
Member

Thanks ! This is due to the interpolation mode you've chosen. I guess this works better with evenly-distributed data sets... Have you tried another one ?

@krisskross
Copy link
Author

It works great with "good" data. I discovered from d3 that you can set interpolate mode and tension.

Using .interpolate('cardinal').tension(0.95) worked ok.

@lorem--ipsum
Copy link
Member

I guess I should add an option to set the interpolation tension... What do you think ?

@krisskross
Copy link
Author

yeah, that would be great!

@venil7
Copy link

venil7 commented Dec 31, 2013

is there any progress on this? i'm seeing this issue as well

@lorem--ipsum
Copy link
Member

Hi

I'm currently rewriting the library in coffeescript (from develop branch). After that I'll add the tension option. Should be done in january, if I find enough time ! :-)

@lorem--ipsum lorem--ipsum added this to the 1.0.4 (conceptual-cork) milestone Feb 9, 2014
@lorem--ipsum lorem--ipsum self-assigned this Feb 9, 2014
@lorem--ipsum
Copy link
Member

Fixed in develop dc39228, will be included in 1.0.4.

@deepakoodles
Copy link

how to put data dynamic in the chart

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

No branches or pull requests

4 participants