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

8 Коммитов

Автор SHA1 Сообщение Дата
Mike Bostock 1b9aa90c38 Cleanup examples. 2012-11-11 11:20:15 -08:00
Mike Bostock 84a6255236 Checkpoint example cleanup. 2012-10-11 16:34:17 -07:00
Mike Bostock d3f855ae01 Rename d3.v3.js to d3.js.
We'll still use the major-versioned name file for d3js.org, but this is simpler.
2012-10-05 18:46:05 -07:00
Mike Bostock dceb459a27 Multitouch dragging! 2012-08-31 13:11:34 -07:00
Kristofer Monisit 9a3cd7e3cf Bring drag example up-to-date 2012-04-06 18:49:52 +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 5a87998694 Examples: namespaces are optional as of v2.6.0. 2011-11-23 22:48:13 +00:00
Mike Bostock 18dcad7438 Add drag.origin accessor.
This allows you to specify how the drag behavior should infer the current
position of the targetted element, such that a fixed offset can be maintained
between the mouse position and the element position for the duration of the drag
gesture. For example, if your data is an {x, y} object, use origin(Object).
2011-11-10 15:16:46 -08:00