Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Ability to make points or bar sections editable (ideally with drag and drop) #7410

Copy link
Copy link
Open
@celia-lm

Description

@celia-lm
Issue body actions

Something like this:
Image

Similar to what is possible with shapes when editable=True is set in the config: https://github.com/plotly/plotly.js/blob/master/src/plot_api/plot_config.js#L47

Changing the position of the point (or bar section) should:

  • modify the underlying traces
  • trigger an event like restyle or relayout
  • be restricted based on the current state of the graph. In the example of the screenshot, it should only be possible that the bar region is moved to "China" or "Canada" and their respective x positions, since those are the available values. Similarly, the y position would be determined by the current "height" of the bar the region is moved to.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3backlogbacklogcscustomer successcustomer successfeaturesomething newsomething new

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.