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

329 Коммитов

Автор SHA1 Сообщение Дата
Michael Bostock d16d06ef36 First pass at some shape utilities. 2010-10-24 17:05:59 -07:00
Michael Bostock a0f2a670b2 Add categorial color palettes. 2010-10-24 16:15:43 -07:00
Michael Bostock 1901673b06 Fix a bug with concurrent intervals. 2010-10-24 16:03:35 -07:00
Michael Bostock e25acce124 Consolidate concurrent setIntervals. 2010-10-24 15:27:04 -07:00
Michael Bostock 99d1840275 Fix propagation of parentNode & parentData. 2010-10-24 14:03:12 -07:00
Michael Bostock 27dbb5a0fa Custom easing. Public d3.dispatch. 2010-10-24 12:40:26 -07:00
Michael Bostock 18a6e2941a Restore previous enter behavior.
It's a lot more predictable if we always use selectAll to determine the parent
node for a given group, rather than trying to infer parent nodes per node
during select.
2010-10-24 12:13:15 -07:00
Michael Bostock 7897cdddd0 Better tracking of enter parents. 2010-10-24 11:43:32 -07:00
Michael Bostock b979c84b2e First-getters for attr, style, text, html. 2010-10-24 11:10:51 -07:00
Michael Bostock 9a28acdc62 Add "key" to join attributes. Event support. 2010-10-24 10:56:29 -07:00
Michael Bostock b6abd7dfdd Allow custom interpolators. 2010-10-24 10:39:34 -07:00
Michael Bostock 6b05816d79 Fix bug in style transition. 2010-10-24 09:48:43 -07:00
Michael Bostock 5705107036 Fix a bug with redundant interpolators. 2010-10-23 20:46:17 -07:00
Michael Bostock 3cfeb7c664 Checkpoint immediate-mode implementation. 2010-10-23 20:32:16 -07:00
Michael Bostock 55e13c778d Minor cleanup to ticks & tickFormat. 2010-10-22 16:06:59 -07:00
Michael Bostock 5e381ba73e Export a tickFormat function.
The tick format function doesn't have to be used with ticks, though. It's also
for convenient for determining an appropriate precision for any value label.
2010-10-22 13:51:36 -07:00
Michael Bostock d7bc33eafd First pass at ticks for linear scale. 2010-10-22 12:55:50 -07:00
Michael Bostock 936963e357 Initialize tweens immediately.
Previously, the tweens would not be initialized until the first tick, after a
minimum delay. It's more predictable if we initialize them during the initial
apply, especially if the tweens depend on external state (such as scales) that
may change after the transition has started.
2010-10-22 12:16:43 -07:00
Michael Bostock aab852b19a Temporary fix for select(404).selectAll().
If the select doesn't find any results, `o.node` is null, so we shouldn't run
any normal actions on it. But we still want to run the data action on it (to
generate the enter selection), so the fix is a bit more complicated than this.
2010-10-21 13:09:39 -07:00
Michael Bostock a5089b8918 Add `bind` action. 2010-10-21 12:53:56 -07:00
Michael Bostock 78bca67502 Add ordinal scale, range. 2010-10-20 15:22:22 -07:00
Michael Bostock 92d15a4472 First pass at scale functions.
This includes only the quantitative scale functions, which is primarily the
linear scale. Also included are `log` and `pow` scales, which are simple
transforms of linear scales. All the scale functions use the existing
interpolator logic, so you can specify an output range of numbers, colors,
fonts, paths... pretty much anything.
2010-10-20 11:07:42 -07:00
Michael Bostock 6464020abb Update google-compiler to 20100917. 2010-10-14 10:23:15 -07:00
Michael Bostock 7e0e19106e Remove values/entries/keys.
These data-processing methods are useful, but they should live in a separate library.
2010-10-14 10:21:07 -07:00
Michael Bostock 917442a1a2 Add HSL conversion utility. 2010-10-06 15:20:38 -07:00
Michael Bostock a16adb1a39 Add d3.{entries,keys,values}.
Also rename calendar/dow example to calendar/dji.
2010-10-05 11:57:27 -07:00
Mike Bostock 018b79577a Rename add -> append. 2010-10-02 11:00:31 -07:00
Mike Bostock 661ff7fe82 Redesign of tweens. 2010-09-28 23:18:51 -07:00
Mike Bostock 6f3a7e7e76 Checkpoint source. 2010-09-28 11:26:55 -07:00