Skip to content

Default gridline behavior for overlaid axes is ugly and hard to read #7683

Closed

Description

@emilykl

When creating a chart with multiple y-axes (or x-axes) overlaid on the same plot, the default gridline behaviour is to show independent gridlines for both axes, which both doesn't look very nice, and also makes the plot somewhat difficult to read as it's not immediately obvious which gridlines correspond to which axis:

Image

Codepen

Proposed solution

We already have an axis property, tickmode: 'sync', which addresses this issue. When tickmode is set to sync for the overlaid axis, that axis will use the same gridlines as the primary axis, and calculate its tick labels to match:
Image

I propose that tickmode should default to 'sync' for overlaid axes (rather than the current default of 'auto').

Activity

  1. added
    bugsomething broken
    and removed
    bugsomething broken
    on Jan 6, 2026
  2. changed the title [-][BUG]: Default gridline behavior for overlaid axes is ugly and hard to read[/-] [+]Default gridline behavior for overlaid axes is ugly and hard to read[/+] on Jan 6, 2026
  3. added this to the v4.0.0 milestone on Apr 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions