RandomFractals / vscode-data-preview

Data Preview 🈸 extension for importing 📤 viewing 🔎 slicing 🔪 dicing 🎲 charting 📊 & exporting 📥 large JSON array/config, YAML, Apache Arrow, Avro, Parquet & Excel data files
https://marketplace.visualstudio.com/items?itemName=RandomFractalsInc.vscode-data-preview
Apache License 2.0
550 stars 59 forks source link

Export interactive chart? #194

Closed mhkeller closed 4 years ago

mhkeller commented 4 years ago

Is it possible, or would be possible to add a feature where you export the charts you create? For example, you could export as an HTML file with all the JS in it so you can send that file around to people.

RandomFractals commented 4 years ago

this has been on my todo list for some time. see #10

mhkeller commented 4 years ago

Neat. Do you have a sense of how this would work and what the relevant files are to look at in the code base? I'd be up for trying to figure out an approach.

RandomFractals commented 4 years ago

@mhkeller it's rather complicated. There are generic ways to create png and svg from canvas charts as I pointed out in the related links in #10 I left it open since I've been waiting perhaps d3fc and perspective js developers would provide that interface or at least access to their chart canvas for us to do it.

If you don't mind I'll close this as a duplicate. Please use my original ticket for logging more info related to this.

Thanks