Граф коммитов

8 Коммитов

Автор SHA1 Сообщение Дата
Mike Bostock 3de298bc37 Fixed precision for the default log tick format.
Also add @jmarca's test case.
2011-11-10 12:35:09 -08:00
Mike Bostock da47ae88bd Remove spurious rounding. 2011-11-10 12:31:54 -08:00
Jason Davies d2943a0724 Better handling of empty domains for nice scales. 2011-10-11 09:12:56 +01:00
Jason Davies cc0ae766b7 Make toString return #RRGGBB for all colours.
This breaks a test case that ensures d3.hsl(x) == d3.hsl(d3.hsl(x)).

Fixes #333.
2011-10-07 17:58:58 +01:00
Mike Bostock 7895afbda5 Better log ticks.
This adds support for filtering the log ticks, such that fewer ticks can be
generated to fit in a small space. This can be used in conjunction with a
custom tick format as well. This commit also changes the default log tick format
to be exponential rather than precision, for consistency.
2011-09-21 15:32:19 -07:00
Mike Bostock d2b152ce7f Fix a bug in ordinal.copy. More tests. 2011-08-18 14:59:55 -07:00
Mike Bostock 7c25304ffe Add tests for nicing poly domains. 2011-08-15 15:30:55 -07:00
Mike Bostock 9684389ea0 Add test for scale.log. 2011-08-15 15:26:10 -07:00