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

scattergl lines fixes for opacity and connectgaps #589

Merged
merged 3 commits into from
Jun 1, 2016

Conversation

etpinard
Copy link
Contributor

@etpinard etpinard commented May 31, 2016

fixes #585 and #586

I added one test mock but without its corresponding baseline image (I can't wait for #572)

In the meantime, here's the proof:

image

the graph above is gl2d and the graph below is svg.

etpinard added 3 commits May 31, 2016 12:18
- if trace has markers and any array style attr -> fancy
- if trace has markers and a non-circle symbol -> fancy
- if trace has lines and connecgaps false -> fancy
@etpinard etpinard added bug something broken status: reviewable labels May 31, 2016
Array.isArray(marker.line.width) ||
Array.isArray(marker.line.color) ||
Array.isArray(marker.opacity)
) return true;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Eeek.

@mdtusz
Copy link
Contributor

mdtusz commented May 31, 2016

isFancy sure isn't pretty, but 💃

@etpinard etpinard merged commit 0f110e1 into master Jun 1, 2016
@etpinard etpinard deleted the gl2d-fixes-for-carson branch June 1, 2016 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken
Projects
None yet
Development

Successfully merging this pull request may close these issues.

scattergl lines don't respect top-level opacity attribute
2 participants