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

VIKTOR platform integration #627

Open
NagelsThomas opened this issue Sep 25, 2024 · 1 comment
Open

VIKTOR platform integration #627

NagelsThomas opened this issue Sep 25, 2024 · 1 comment

Comments

@NagelsThomas
Copy link

For engineers, being able to analyze data in an app is a fantastic way to gain insights.
An example could be borehole statistics that lead to pile planning.

I would love to be able to integrate the PygWalker UI into a VIKTOR application

I have tried to use it in a WebView but i get stuck at 'Loading Graphic-Walker UI...' probably something to
do with the script that needs to run for the UI to load

I do remember that the VIKTOR webview is sandboxed so I am also wondering if it is even possible to do it.
below is the code that I tried to use for my application.

@vkt.WebView('Data analysis view', duration_guess=10)
def pygwalker_view(self, params, **kwargs):
    df = .... 
    walker = pyg.walk(df, debug=False)
    html_code = walker.to_html()
    return vkt.WebResult(html=html_code)
@longxiaofei
Copy link
Contributor

I will check it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants