finos / perspective

A data visualization and analytics component, especially well-suited for large and/or streaming datasets.
https://perspective.finos.org/
Apache License 2.0
7.95k stars 1.06k forks source link

Right-side Y-Axis disappears when grouping by date using Perspective Viewer 'Y Line' plugin #2427

Open deneboulton opened 8 months ago

deneboulton commented 8 months ago

Bug Report

Steps to Reproduce:

  1. Table data set includes 2+ columns grouped by date
  2. Use Perspective Viewer 'Y Line' plugin to render the table
  3. Split the main values by clicking on one or many of the labels on the main/left y-axis
  4. The view correctly renders the data to the scale of the new split axis.
    • If the split/right y-axis is rendered, zoom in on the chart - then it should disappear

Expected Result:

Split/right y-axis should be rendered on the right of the chart next to the labels for the split column(s).

Actual Result:

Split/right y-axis is not rendered on the right of the chart. Labels for the split columns(s) are rendered though. Reproduction, https://codesandbox.io/s/perspectiveviewer-disappearingrightaxis-a-d8tk4t

Environment:

Perspective 2.6.1 MacOS Ventura 13.6.1 Chrome Browser 118.0.5993.88 (Official Build) (arm64) Firefox 115.3.0esr (64-bit)