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

D3FC charting options #646

Closed
akansal1 opened this issue Jul 5, 2019 · 3 comments
Closed

D3FC charting options #646

akansal1 opened this issue Jul 5, 2019 · 3 comments
Labels
JS question Questions about use, potential features, or improvements

Comments

@akansal1
Copy link

akansal1 commented Jul 5, 2019

@DevAndyLee, I want to reuse D3FC chart in my app without editing options but, with that I would also like to update charting options like title etc, that D3FC allows.
Is there a way, where I can reference D3FC object to pass those custom charting options/settings ?

@RandomFractals
Copy link

RandomFractals commented Jul 13, 2019

likewise for exporting SVG or png from charting libraries used by perspective viewer plugins.

see a brief use case scenario here: RandomFractals/vscode-data-preview#10

@RandomFractals
Copy link

related: d3fc/d3fc#1290

@timkpaine timkpaine added JS question Questions about use, potential features, or improvements labels Jul 30, 2019
@texodus
Copy link
Member

texodus commented Jan 27, 2020

Thanks for the feature request!

While this sounds like a powerful feature, this is a bit out-of-scope for Perspective development today. Returning the D3FC object itself will necessarily introduce tight coupling to how @finos/perspective-viewer-d3fc generates this object, so probably not a good fit; A better approach might be to use the currently D3FC implementation as a reference to build your own chart on Perspective's plugin API.

That being said, perspective will continue to add new customization features as they are available in the UI/UX of @finos/perspective-viewer, and this may include e.g. titles, axis labels etc., so feel free to open new requests for specific visualization features.

@texodus texodus closed this as completed Jan 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
JS question Questions about use, potential features, or improvements
Projects
None yet
Development

No branches or pull requests

4 participants