Plotly.js: scattergl plot shapes not working

Created on 13 Feb 2017  路  9Comments  路  Source: plotly/plotly.js

I don't know if it is a known issue but it seems that shapes don't work on scattergl plots.

Here there are two identical code-pens one with svg (scatter plot type) and the other with webgl (scattergl plot type) to demonstrate this issue:

Does anyone know if this will be fixed soon for "scattergl" plots?

I think it is a quite important feature for scatter plots...

Thank you!

feature

Most helpful comment

I've seen now it is on the known limitations already: #130
Still, any idea when this could be solved or when those limitations will be planned to be solved?

Webgl is quite more powerful than SVG when plotting a lot of points in scatter plots, so it would be very nice to have same great features as there are in SVG plots...

Thank you!

All 9 comments

I've seen now it is on the known limitations already: #130
Still, any idea when this could be solved or when those limitations will be planned to be solved?

Webgl is quite more powerful than SVG when plotting a lot of points in scatter plots, so it would be very nice to have same great features as there are in SVG plots...

Thank you!

@etpinard I forked plotly and made a branch to add more symbols to the scattergl plot. According to the PR guidelines, a maintainer needs to review changes

https://github.com/destradafilm/plotly.js/tree/scattergl-on-par-shapes

@etpinard Sorry, I meant to PR to my own 'master' but sent a PR to plotly

Thanks for the PR @destradafilm I don't think these are the _shapes_ @ifll was referring to.

Nope.. by shapes I meant drawing lines and other geometrical figures... I think it is quite easy to check what I meant on the codepens I provided

But anyway, thank you very much @destradafilm for improving scattergl plots :D

Okay, now I'm trying to implement a 'line of best fit' or 'regression line' and need this feature as well

worth thinking about in https://github.com/plotly/plotly.js/pull/1869

cc @dfcreative

Will be fixed by @dfcreative 's regl-based scattergl:

image


We should add a test mock for this thing before merging.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mithi picture mithi  路  3Comments

nicolaskruchten picture nicolaskruchten  路  3Comments

HunterMcGushion picture HunterMcGushion  路  3Comments

archmoj picture archmoj  路  3Comments

boleslawmaliszewski picture boleslawmaliszewski  路  3Comments