Commit Graph

36 Commits

Author SHA1 Message Date
Worros
49aa8921e3 Grapher: Update to support mutiple sites and players
Makes sites actually selectable via checkboxes.

Removed the sitename from the graph string for the moment - How that
string is generated needs a major overhaul
2008-12-19 16:52:32 +09:00
Worros
3a1ddad58f Fix crasher in Grapher if no hands returned.
Should alert user or at least draw something in right pane.
2008-12-11 23:55:03 +09:00
sqlcoder
4dc15bfd94 pulled and merged from fpdboz 2008-12-07 23:38:33 +00:00
Worros
998ab6eac3 Add start of graph export functionality
No function yet - just adds callback
2008-12-06 20:51:36 +09:00
Worros
fefbcfca65 Whitespace churn on Graph viewer 2008-12-04 16:15:38 +09:00
sqlcoder
a824814c0a sqlcoder initial updates 2008-12-02 00:15:50 +00:00
Worros
762ae46afb Merge branch 'master' of git://git.assembla.com/fpdb-eric
Conflicts:

	pyfpdb/GuiGraphViewer.py
2008-11-27 22:50:58 +09:00
Worros
7cc8ce7757 Clean up profit graph function 2008-11-27 10:29:41 +09:00
eblade
50938c4912 Merge branch 'master' of git://git.assembla.com/fpdboz 2008-11-17 14:38:01 -05:00
Worros
7aa0cff8d8 Make ftp kinda work 2008-11-16 13:43:24 +09:00
eblade
284955350a Merge branch 'master' of git://git.assembla.com/fpdboz.git 2008-11-14 15:46:02 -05:00
eblade
1ed20a5f70 Merge branch 'master' of git://git.assembla.com/fpdboz.git
Conflicts:
	pyfpdb/GuiGraphViewer.py
2008-11-14 15:45:56 -05:00
Worros
0059d20f8e Add callback for test entry so player name is changable. Still buggy but partially functional 2008-11-14 22:41:37 +10:00
Worros
ba52cb93d1 Actually implement sqlcoders query as intended.
Query running in about 30% of the time.
2008-11-14 19:27:37 +10:00
Worros
115c5d920d Text was annoying me. Turned into multiline string. 2008-11-14 14:58:35 +10:00
Worros
86ba757080 Major update to the layout of GuiGraphViewer.
Changes the structure to a left a left options pane and a right graph pane.

Starting to create the options dynamically, and use callbacks sanely.
2008-11-14 14:54:34 +10:00
eblade
05f3f5eee2 fix indentation typo 2008-11-13 19:42:35 -05:00
eblade
077cb70c79 Merge Carl's changes from sqlcoder to GuiGraph to mine from earlier 2008-11-13 19:41:20 -05:00
Worros
34e374a55e Patch from sqlcoder to make the query for the profit graph smarter/faster 2008-11-14 08:15:28 +10:00
eblade
5903988e38 merge with ray/carl
GuiGraphViewer: configure matplotlib to use GTK properly, add in error handling for graphing across a database with hands the player you've requested wasn't involved in. please see # todo note on that.
2008-11-12 06:30:49 -05:00
Worros
2b9eed8958 Change db access function to always get the latest committed transactions.
Fixes graph updating, so i made the label a bit prettier, and a bit better behaved.
2008-11-07 18:12:48 +13:00
Worros
389d9361b9 Update Graph Viewer to use config file, fill Entry with player_name field from the config. 2008-10-25 14:57:29 +08:00
Worros
eb67d071a5 Changed TextBuffer widget over to Entry as it looks nicer, and we dont need multiline text. 2008-10-18 00:35:59 +08:00
Worros
c7ba32c755 Fix graph message to include site and player name 2008-10-14 22:35:05 +08:00
Worros
79651706f6 Make GuiGraphViewer use the query file.
Make minor adjustment to Graph
2008-10-08 19:53:25 +08:00
steffen123
2a90030982 p118 - added all in field to HandsActions and parsing to importer. still need to update hudCache generation to use this tho
expanded some todo prints and the graph missing lib error to clarify for users
2008-10-06 04:26:59 +01:00
steffen123
6926306147 p105 - commented import in Grapher as its not used yet, reverted bug i introduced in p90 2008-09-26 02:54:08 +01:00
steffen123
96e9a0112f p104 - grapher improvements by carl 2008-09-26 01:05:00 +01:00
steffen123
fef324b854 p99 - graphing now removes old graph on refresh 2008-09-24 04:01:38 +01:00
steffen123
7db2a471b8 p95 - graph viewer didnt work, fixed it 2008-09-23 00:39:37 +01:00
steffen123
4e8a09ff84 p93 - unbet now stores a negative amount since that's what it is 2008-09-22 22:12:03 +01:00
steffen123
7ed7a2b88c p91 - patch to HUD table detection from carl 2008-09-22 03:31:33 +01:00
steffen123
8c6cecb8f7 p90 - release script renames HUD_config.xml.example so user doesnt have to
fixed a couple of stupid errors where i used the wrong siteID somehow
graph now lets you pick beteen PS and FTP
2008-09-21 23:38:22 +01:00
steffen123
7ed7db3791 p89 - graph now sorts by siteHandNo rather than handId and takes into account expenditure. 2008-09-21 22:21:09 +01:00
steffen123
8117193b4f p88 - graph viewer now takes player name from GUI rather than hardcoded player id 2008-09-21 14:24:43 +01:00
steffen123
009161d55b p87 - added profit graph kindly sent by Carl Gherardi, it's got fixed player id and is using the wrong table fields right now, will fix that tomorrow or so. note that this adds a new dependency, matplotlib, but I put it into a try except loop to avoid load failure
added subfolder gentoo to packaging folder and added it to release script
2008-09-20 05:56:16 +01:00