Skip to content

Drawing traces on top of shapes #148

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

Closed
zerweck opened this issue Dec 25, 2015 · 1 comment · Fixed by #378
Closed

Drawing traces on top of shapes #148

zerweck opened this issue Dec 25, 2015 · 1 comment · Fixed by #378
Labels
feature something new

Comments

@zerweck
Copy link

zerweck commented Dec 25, 2015

I would like to use shapes in the background to highlight areas, without resorting to opacity.
The developer of the R API states that this is not supported in plotly.js:
plotly/plotly.R#370

@etpinard
Copy link
Contributor

@zerweck This would be useful addition.

Unless @alexcjohnson has a reason for always keeping shapes above traces.

Possible API:

  • layout.shape.layer: 'above' || 'below'

@etpinard etpinard added the feature something new label Mar 21, 2016
n-riesco added a commit to n-riesco/plotly.js that referenced this issue Mar 29, 2016
* This commit is a proof-of-concept to allow shapes in the background.

* Moved "shapeLayer" into "subplot".

Fixes plotly#148
@n-riesco n-riesco mentioned this issue Apr 1, 2016
3 tasks
@etpinard etpinard reopened this Apr 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature something new
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants