Skip to content

Inconsistent property names for ViewConfig #1079

Closed
@crambelsoupy

Description

Bug Report

Steps to Reproduce:

  1. Create perspective-viewer in angular app
  2. Restore viewer with config as per ViewConfig, with column_pivots and row_pivots properties
  3. call viewer.save to get the config of the viewer

Expected Result:

The property names used by the perspective-viewer, and provided by the viewer from the save() method should match.

Actual Result:

The save() method returns a config with different property names than defined in the typescript exports, more specifically "row-pivots", and "column-pivots".

Environment:

Version 0.5.0 running in angular app.

Other context

I have tried rolling back to using the "-" property names but get a warning in console "Deprecated: "row-pivots" config parameter, please use "row_pivots" instead"

Metadata

Assignees

No one assigned

    Labels

    bugConcrete, reproducible bugsdocumentationImprovements/bugs/changes to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions