Plotly.js: Polar 2.0 open items

Created on 16 Jan 2018  路  7Comments  路  Source: plotly/plotly.js

Followup issue of https://github.com/plotly/plotly.js/pull/2200 and the on-par polar milestone.


Features we could easily add

  • [ ] radial and angular axis spikes
  • [ ] support for radialaxis.side: 'center' to display radial axis labels along invisible radial axis lines
  • [x] radial axis _hole_ (similar to pie hole, mpl example) - done in https://github.com/plotly/plotly.js/pull/2977
  • [x] support square grid lines for category angular axes example - done in https://github.com/plotly/plotly.js/pull/2739
  • [ ] some way to _snap_ to NSEW corners during angular drag
  • [ ] way to activate radial (and possibly angular down the road) autorange on double click (i.e. implement doubleClick: 'autosize' config option
  • [ ] radial (and angular?) axis zeroline
  • [ ] polar (r,theta) data-referenced annotations
  • [ ] trace-specified and radial-axis calendars
  • [ ] make polar respect gd._context.showAxisDragHandles?

Potential features that require some thought

discussion needed feature

Most helpful comment

From @alexcjohnson 's https://github.com/plotly/plotly.js/pull/2739#discussion_r197297290

  • [ ] we should have a mode in scatterpolar to join the endpoints together so you don't need to repeat the initial point when the data are meant to be periodic. trace.connectends perhaps, to mirror trace.connectgaps? Moved to -> https://github.com/plotly/plotly.js/issues/3073

All 7 comments


Update: adding that @flaky tag seems to have fixed this pretty well.

To my surprise, legacy polar charts were able to set the angular range:

https://community.plot.ly/t/custom-angular-range-in-scatterpolar/8676

:sos: We should implement that in polar 2.0 before :hocho: legacy polar charts in v2 :sos:

From @alexcjohnson 's https://github.com/plotly/plotly.js/pull/2739#discussion_r197297290

  • [ ] we should have a mode in scatterpolar to join the endpoints together so you don't need to repeat the initial point when the data are meant to be periodic. trace.connectends perhaps, to mirror trace.connectgaps? Moved to -> https://github.com/plotly/plotly.js/issues/3073

@etpinard a request has come in for radial axis hole (third checkbox above) and legacy area type replacement (first bullet point). hole is straightforward enough that I think this checkbox will suffice to track it, but I'll make a new issue for area so we can hash out the API without overrunning this thread.

, but I'll make a new issue for area so we can hash out the API without overrunning this thread.

Sounds good!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

danielsamuels picture danielsamuels  路  3Comments

etpinard picture etpinard  路  3Comments

chriddyp picture chriddyp  路  3Comments

maxwell8888 picture maxwell8888  路  3Comments

tim-sauchuk picture tim-sauchuk  路  3Comments