I want to develop a GUI application that allows me to plot candlestick bars, and then to manually draw lines on the plot.
I am working on Linux, so would prefer a solution that is cross platform, or at least runs on Linux. I tend to use Python a lot, and have used C# (with mono on Linux) in the past. I have done some research and it seems to suggest that wxPython or PyQwt (both used in conjunction with matplotlib) would be the way to go. Ihave to admit that I am biased toward Python, since a lot of my existing scripts are in Python. However, C# has a good GUI library and if it is the better tool in this instance, then I will be willing to use it instead of the Python based solutions.
The requirements of the application are as follows:
- Plot candlesticks
- Displaying the coordinates under the mouse as the cursor moves about
- Scrolling the plot left/right
- zoom in/out
- Redraw plot when window is resized
- Change granularity of plotted graph
- Manually draw lines on chart (for current granularity)
- Show/hide lines for a particular granularity on the plot
- Programatically access the manually drawn lines
- Save plot to file as an image
Since wxPython, PyQwt and C# (generally speaking) are new to me, I would like to know which:
- is the best approach for implementing the above requirements
- represents the shallowest learning curve
A snippet showing a barebones skeleton to get me started (using either wxPython, pyQt, pyQwt or C#) would be very helpful.