Sportinfo-Eng
Allikas: Lambda
Main part - 5 points
- Make a program with a graphical user interface.
- The program has to download a sports competition result protocol giveb by url from www.sportinfo.ee
- Source data:
- Sport competition results from: http://www.sportinfo.ee/sportres/
- For example: Viking Windows 29. Paide-Türi run http://www.sportinfo.ee/sportevent/task/results/id/913/
- You can export the results with corresponding buttons (CSV, XML, Excel, Print)
- Export in CSV format (recommended) http://www.sportinfo.ee/export.php?t=results&f=tab&id=913&rid=1563&lang=5
- You would have to extract the following from the data
- Competitor name
- Finishing time
- The program displays "loss-to-winner" graph
- y-coordinate has the time
- x-coordinate has the competitor
- The program enables the user to highlight at least two competitors from the graph - visually.
- The graph has to fill all the drawing canvas available.
- Including after resizing the window
- After "hiding" or dragging the windows out of the screen.
- After covering the windows temporary by another window
- Example graph.
- You can draw the graph as a simple "line" - no need for fill
- The graph is showing a simple method of highlighting competitors
- The example graph has two lines/competitions - which is not part of the main part of the assignment.
Multiple graphs - 3 points
- Program enables to add and remove competitions/lines to the graph.
- Meanwhile preserving the ability to highlight competitors.
Pan and zoom - 2 points
- The program allows zooming of the graph.
- Achieved by marking the horizontal (x-coord) limits to be zoomed in
- The program displays the graph/-s only within the zoomed area
- With right-click drag for example