Damien Elmes
9de08e243e
Merge pull request #134 from matthayes/master
...
Fix y axis tick rendering
2016-07-04 16:29:17 +10:00
Matthew Hayes
d3d9ce24d5
Fix y axis tick rendering
...
Previously, y axis ticks could be fractional. Fractional ticks were always rounded to the nearest whole number for display. This leads to confusing graphs where the bar and ticks do not match up. For example, if the bar is 3 and the tick is 2.5, then the bar renders just above the tick but the tick is rendered as 3. They both then appear to have value 3 but don't line up.
To fix this behavior, we now indicate to flot that for the y axis we don't want fractional tick values (by setting tickDecimals to 0). flot will pick tick values to accommodate this setting. If for some reason the ticks are fractional, which shouldn't happen, we will render to one decimal place. Otherwise we render whole numbers without the decimal. Since we are counting reviews, this behavior makes more sense, because reviews are always whole numbers and never fractional.
2016-06-24 17:59:46 -07:00
Damien Elmes
15b349e3a8
start port to python 3
...
unit tests pass and main screens of GUI load
2016-05-12 14:45:35 +10:00
Derbeth
d2b1d187da
allow better translations of added cards statistics
2014-08-28 08:16:12 +02:00
Soren I. Bjornstad
408fc63b48
create "added" graph
...
This simple graph shows how many new cards you have added to a deck or
collection over time.
2014-08-05 09:50:09 -05:00
Soren I. Bjornstad
1fc1c56aa9
fix error on stats when translation had %f in different place
2014-07-05 10:39:00 -05:00
Soren I. Bjornstad
2d7e1ad017
another translation fix
2014-06-30 09:25:19 -05:00
Soren I. Bjornstad
0071ddfb89
fix ngettext mistake in cards/minute stat
...
introduced in 46a38f843e
2014-06-29 12:56:05 -05:00
Soren I. Bjornstad
46a38f843e
fix rounding of cards/minute; use 1 decimal place
2014-06-26 10:07:58 -05:00
Soren I. Bjornstad
71ff86e3f3
change "suspended" label to "suspended+buried"
2014-06-20 19:23:53 -05:00
dae
cda86307c0
round cards/minute (thanks to Markus)
2014-05-25 14:55:29 +09:00
Damien Elmes
b1cb07077a
include buried in suspended count
2014-03-14 11:56:15 +09:00
Damien Elmes
32147b2d76
buggy i18n def
2013-11-01 03:09:20 +09:00
Damien Elmes
04ff4cc3fc
make 's' translatable in stats
...
thanks to "lumininous spice" for the heads up
2013-10-26 10:53:15 +09:00
Damien Elmes
0fbc94c186
more logging tweaks
...
- disable in browser, note.cards()
- in getCard() we want the calling frame, not us
- log current day
- show card/note id in card info stat
2013-10-18 14:20:20 +09:00
Soren I. Bjornstad
6c07a58c2a
display "if you studied every day" only when appropriate
...
(If you in fact did study every day during the period shown, it looks
silly.)
2013-10-10 10:42:58 -05:00
Damien Elmes
a3190d52f1
make sure we include 'px' in stats (thanks to steveaw)
2013-07-09 08:14:13 +09:00
Damien Elmes
adaf951a5a
force y axis min of 0 in reps graph too
2013-06-06 08:19:32 +09:00
Damien Elmes
97a92e5ea9
translation issues
2013-05-24 10:46:44 +09:00
Damien Elmes
81b4e521cc
fix float issue in stats
...
[Beta Testing #23 ]
2013-05-22 08:56:15 +09:00
Damien Elmes
f97abacb4a
add mature today stat
2013-05-18 18:37:17 +09:00
Damien Elmes
9875e26e06
make sure y axis starts at 0
...
https://anki.tenderapp.com/discussions/ankidesktop/793-strange-scaling-in-statistics-bar-bug
2013-05-04 15:45:57 +09:00
Damien Elmes
9642ce9337
fixed off by one err in collection start date calc
2013-02-25 16:13:50 +09:00
Piotr Kubowicz
12bde7b40f
allow 'Studied 1 card in ...' to be translated properly
2013-01-13 20:20:17 +01:00
Damien Elmes
b2457811a2
optimize imports
2012-12-22 09:17:10 +09:00
Damien Elmes
d477df8c28
merged libanki and ankiqt into single distro
2012-12-21 16:51:59 +09:00