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

15 Коммитов

Автор SHA1 Сообщение Дата
Mike Bostock 68be0ac8c8 Rename assert and XMLHttpRequest. 2013-03-14 13:00:04 -07:00
Mike Bostock e1842fccac Refactor scale tests for minimal load. 2013-03-14 10:52:01 -07:00
Mike Bostock 608902c907 Checkpoint test refactoring. 2013-03-13 23:21:23 -07:00
Mike Bostock a3bb93a749 Fix vows clobbering our custom asserts. 2013-03-05 09:01:18 -08:00
Mike Bostock 05da7af849 Fix #771 for singleton ordinal domains. 2012-08-16 13:26:14 -07:00
Mike Bostock fd6c591b76 Add support for outer padding on rangeBands.
Sometimes you want additional padding between the outer bands and the range
extent. Now you can.
2012-06-28 20:41:33 -07:00
Mike Bostock cb97b4a167 Fix a bug with descending rangeBands. 2012-02-22 14:06:30 -08:00
Mike Bostock 7187082ccc Use d3.map for d3.scale.ordinal. 2012-02-20 22:32:46 -08:00
Mike Bostock 3081dd45ef Consolidate everything into d3.v2.js.
Rather than producing separate files for each module, the default build now
produces a single file. This should encourage better page-load performance as
the files were relatively small. Also, it's easier to deal with only one file
rather than many, especially if you're not quite sure what the dependencies are.
You may still create minimized builds, if you don't want every feature.

This commit also demotes the chart components to the examples directory, rather
than keeping them as part of the core library. As always, D3 is not a charting
library, and these were ever only intended to serve as examples.
2012-02-18 14:04:01 -08:00
Jason Davies ac7e87e0a7 Test ordinal rangeExtent with explicit range. 2011-12-14 09:27:58 +00:00
Mike Bostock 552622da17 Ordinal scales for axes. 2011-11-23 12:05:52 -08:00
Mike Bostock 4882a6448b Fix range generation for ordinal scales.
Using d3.range with a floating point step is a bit sketchy, because there's a
chance that too many or too few elements could be generated. Instead, we now we
generate an integer range and scale it accordingly.
2011-11-04 12:03:01 -07:00
Mike Bostock 874c6f4503 Don't string-coerce ordinal domain values.
Fixes #274. String coerce for uniqueness, but store the original input types in
the domain for subsequent retrieval. This way, you can more easily use
non-strings as domain values (such as dates or numbers).
2011-08-28 15:23:17 -07:00
Mike Bostock d2b152ce7f Fix a bug in ordinal.copy. More tests. 2011-08-18 14:59:55 -07:00
Mike Bostock 780bf7cc07 Add test for scale.ordinal. 2011-08-15 15:42:01 -07:00