Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request : import/export configuration from/to json #115

Open
ghost opened this issue Oct 14, 2019 · 2 comments
Open

Feature request : import/export configuration from/to json #115

ghost opened this issue Oct 14, 2019 · 2 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@ghost
Copy link

ghost commented Oct 14, 2019

Filters and chart configuration, should be exportable to a json file, in order to be saved and reused.

@RandomFractals
Copy link

hey @Kerybas try Data Preview: https://github.com/RandomFractals/vscode-data-preview

It has config and json files save ;)

@BobbyTable
Copy link

BobbyTable commented May 6, 2020

I too am looking for this. The 'export to HTML page' exports app + data, but not the visualization state. I would be great to be able to grab the 'Inight' object from the app, so you can reuse/pass it to the various methods that accept an data + insight object.

Is it possible to find it anywhere on the SandDance object? Im guessing that "snapshot" is exactly this object saved (but the camera orientation doesnt seem to be part of it)

[UPDATE]
If you take a snapshot, you can serialize this object:
JSON.stringify(SandDanceEmbed.sandDanceExplorer.state.snapshots[0].insight)
And pass it to a new instance, and the state is recreated =) (excluding the camera state)

@danmarshall danmarshall added the enhancement New feature or request label Mar 22, 2022
@danmarshall danmarshall added help wanted Extra attention is needed good first issue Good for newcomers labels Jan 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants