Skip to content

Graph Panel widget: slight misalignment with X axes #438

Closed

Description

@jmdowrick

You can see in the attached omex archive that the time axes of the two panels are misaligned: VPH-simulation-3.omex.zip

I've included a screenshot in case this is not universal behaviour:
Image

The x ticks of the lower plot are slightly to the left of the upper plot.

Is there a way to have each plot share the same time axis?

Activity

  1. self-assigned this
    on Mar 2, 2026
  2. added this to the Next milestone on Mar 2, 2026
  3. agarny commented on Mar 2, 2026

    @agarny
    Contributor

    Hmm, I can indeed see the difference in Chrome on macOS. The "alignment" is done by insuring that the horizontal space for the Y axis and title is the same for all the plots. And we do the same for the horizontal space for the legend to the right of the plots.

    When it comes to the X axis, it's all down to plotly. But, ok, I am going to see whether anything can be done about it. No ETA for it though, sorry.

  4. changed the title [-]Slight misalignment with time axes[/-] [+]Slight misalignment with X axes[/+] on Mar 2, 2026
  5. changed the title [-]Slight misalignment with X axes[/-] [+]Graph Panel widget: slight misalignment with X axes[/+] on Mar 23, 2026
  6. agarny commented on Oct 22, 2026

    @agarny
    Contributor

    I have reworked the graph panel widget (see issue #578 and its PR #586), which I believe fixes your issue. See screenshots below. (This has been released in version 1.20261023.0 of Web OpenCOR.)

    Old graph panel widget:
    Image

    New graph panel widget:
    Image

  7. jmdowrick commented on Oct 22, 2026

    @jmdowrick
    Author

    Brilliant stuff as always @agarny!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions