I’m developing a desktop app with python 2.7. I need to show some results on an interactive graph (tree view). First of all, the graph displays just the root and the next level children, (the children for the next levels are hidden) the tree must show the children for an especific node once the user clicks on one of them, refreshing the entire tree on the same window. When the user reaches the last level, the app must provide a menu. I’m using Zest (java) and os.system(java…) for connecting java code with python, but I’m not 100% comfortable with it
Is there an api which I can use for creating interactivity in that way, like actionListeners or something?
thanks!
I’m developing a desktop app with python 2.7. I need to show some results
Share
You can check http://d3js.org/ for charting library.It is a javascript library whcih provides interactive charts.Is there any specific reason for using python??
If you are flexible enough to use javascript libraries you can use JavaFX and use javascript libraries to create interactive charts?
Otherwise you can check the source of these d3 charts and try to implement your chart in Python
There is also a way to communicate between phython and java . Use the following link
http://www.slideshare.net/onyame/mixing-python-and-java
There are a lot of open source charting libraries available for java, then you can use that libraries . follow the following link:
https://stackoverflow.com/questions/2081676/looking-for-open-source-tool-for-drawing-charts-in-java