Skip to content

[Bug] "Y Bar" plugin hover label not respecting the format set in column_config #3020

@vera-atomic

Description

@vera-atomic

Bug Report

Steps to Reproduce:

  1. Clone this repo: https://github.com/vera-atomic/perspective-viewer-react-vite-setup/
  2. Run npm install, npm run start
  3. see that when in pivot mode, the column labels are properly labeled as per column config, but that's no loger the case on hover, when in chart mode (wrong timezone, wrong formatting which includes timestamp as opposed to just date)
Image Image

Expected Result:

I expect that the hover label, when in chart mode, follows the specs described in column config: so UTC timezone, and no timestamp

Actual Result:

Hover label is in local timezone, and does not respect formatting in column config (not to show timestamp, just day, month, year)

Environment:

 "dependencies": {
        "@finos/perspective": "^3.6.1",
        "@finos/perspective-viewer": "^3.6.1",
        "@finos/perspective-viewer-d3fc": "^3.6.1",
        "@finos/perspective-viewer-datagrid": "^3.6.1",
        "react": "^18",
        "react-dom": "^18",
        "superstore-arrow": "^3.0.0"
    },

Any additional detail

Thanks for looking! Please let me know if its not a bug but misunderstanding of how to use the library.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions