Anki/anki
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
..
importing when schema differs, make sure we don't import cards 2016-04-17 20:38:39 +10:00
template don't fail if \n in cloze 2014-04-21 14:50:18 +09:00
__init__.py bump version 2016-04-10 13:36:36 +10:00
anki optimize imports 2012-12-22 09:17:10 +09:00
ankiweb.certs bump version again, as new cert was missing an intermediate 2014-04-12 15:54:25 +09:00
cards.py make sure we reset odue when rescheduling as new 2013-11-17 16:03:58 +09:00
collection.py Adding new cloze while in filtered deck 2016-04-09 08:46:54 -05:00
consts.py update media url 2015-03-13 17:06:34 +11:00
db.py use python's sqlite3 if pysqlite > 2.6 2015-09-26 11:51:32 +10:00
decks.py work around huge perDay values set by other clients 2016-01-20 20:59:56 +10:00
errors.py merged libanki and ankiqt into single distro 2012-12-21 16:51:59 +09:00
exporting.py zip64 support, and import/export improvements 2016-02-26 10:01:46 +10:00
find.py Update Field Searches to match multi-line fields 2015-09-25 11:13:42 -04:00
hooks.py merged libanki and ankiqt into single distro 2012-12-21 16:51:59 +09:00
js.py merged libanki and ankiqt into single distro 2012-12-21 16:51:59 +09:00
lang.py about about and available languages 2013-08-22 15:54:33 +09:00
latex.py update latex path for osx 10.10 2015-08-31 19:33:58 +10:00
media.py unquote does need utf8, but we need to convert back to unicode after 2014-08-05 12:59:31 +09:00
models.py Use alternate pattern match during field changes 2014-12-29 20:09:09 -06:00
notes.py tweak logging 2013-10-30 22:42:32 +09:00
sched.py don't bump mod time when moving cards into/out of a filtered deck 2015-03-19 15:35:04 +11:00
sound.py use default sample rate instead of forcing 44100 2014-04-18 04:17:05 +09:00
stats.py Fix y axis tick rendering 2016-06-24 17:59:46 -07:00
statsbg.py merged libanki and ankiqt into single distro 2012-12-21 16:51:59 +09:00
stdmodels.py fix inconsistency in default note type names 2014-10-23 14:28:26 -05:00
storage.py be explicit about modSchema()'s check flag 2014-11-03 16:28:12 +09:00
sync.py DEV->ANKIDEV 2015-05-19 14:26:33 +10:00
tags.py Limit tags in custom study dialog to those in the selected deck 2015-11-21 14:38:21 +02:00
upgrade.py fix upgrading of latex references 2013-05-22 09:46:09 +09:00
utils.py make sure temp folder hasn't been deleted since creation 2014-06-24 14:50:39 -05:00