D3 Graph manipulation


#1

I’m trying to use a D3 Graph in my ng NS app. I’ve managed to get a graph to display using a webview pointing to a local version of the graph as a .html file but I’m not able to programmatically change its data. The closest I’ve gotten to changing the data has been importing a .txt file in the graph and writing to it in a component, but this didn’t work as intended. I would Like for the Graph to be able to call methods in a component if it’s tapped and dynamically change the data of the graph.

Any suggestions?


#2

I used the plugin nativescript-webview-interface for something similar