plotly / plotly/react-plotly.js

Xaxis changes when frame changed with sliders

Open
#306 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1.1k
Forks
138
Avg merge
3d 2h
Merged PRs (30d)
4

Description

You can see it by lines. They change their position. (in json axis numbers also changes)
2022-12-28_153734
2022-12-28_153756

As you can see, lines changed their positions. So, axis changes it according to each frame axis. For example, if there will be frame with 1 marker, this plot will became so small.

But how can I make stable Plotly, without that movement when I change frames?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported frame and slider behavior using the screenshots and issue description, then inspect how the Plotly chart handles axis ranges between frames. Done means the plotted lines and JSON axis values remain stable when changing frames, including frames with different marker counts.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, plotly, react
Domain
data-visualization, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.