Skip to content

Add option to disable line drawing#1887

Merged
etimberg merged 1 commit intochartjs:v2.0-devfrom
mathiask88:v2.0-dev
Jan 14, 2016
Merged

Add option to disable line drawing#1887
etimberg merged 1 commit intochartjs:v2.0-devfrom
mathiask88:v2.0-dev

Conversation

@mathiask88
Copy link
Contributor

This PR adds an option to disable the line drawing between points, so a Line Chart turns into a scatter plot. See #1880 for more details.

@mathiask88
Copy link
Contributor Author

Oh, I missed the tests :)

@etimberg
Copy link
Member

+1 to merge as soon as tests pass

@mathiask88
Copy link
Contributor Author

Tests are passing now. I initially thought the test would inherit from the global config ;) Don't know if you want a new test case to test if the lines are not being drawn.

@etimberg
Copy link
Member

@mathiask88 a test covering not drawing the line would be nice if you can add one. If not, it's okay.

@etimberg etimberg added this to the Version 2.0 milestone Jan 12, 2016
@mathiask88
Copy link
Contributor Author

@etimberg I added a test. Is that ok? Did not look closely at all tests.

etimberg added a commit that referenced this pull request Jan 14, 2016
Add option to disable line drawing
@etimberg etimberg merged commit b756507 into chartjs:v2.0-dev Jan 14, 2016
@etimberg
Copy link
Member

Looks good!

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants