- Further tweaks to
formatAxis()
to avoid an Infinity error.
- Remove some debug code
- Revised
formatAxis()
to consider all gaps rather than just the gap between the first two values.
- Revised to use D3 v7. Main changes concern
d3.event
and.on()
, particularly.on("mouseover", (d,i) -> )
See the D3 6.0 migration guide.
- Handle a single data point in trichart; try to do the same thing in add_points, add_curves, dotchart
-
Implemented custom tool tips in order to drop the [d3-tip]http://labratrevenge.com/d3-tip) library, which is no longer being maintained.
-
Revised to use D3 v5; only real change was in the test code which uses
d3.json()
to load data. -
Dropped the dependency on colorbrewer. This is now built into D3 v5, but I ended up just hard-coding the palettes I wanted, so that the library still works with D3 v4.
- Added option for grid lines in
trichart()
-
Fixed bug in
dotchart()
re having a single group. -
Compiling coffeescript to ES5
-
Added functions
slider()
anddouble_slider()
. -
chrpanelframe
(and so alsolodchart
andlodheatmap
) adds quantitative scale for position on the x-axis (plus grid lines) if there is just one chromosome. -
Ensure that list arguments have all the necessary bits (e.g.
margin.inner
inplotframe
), with new utility functioncheck_listarg_v_default
-
In
dotchart
andadd_points
, just run 30 steps of the force simulation.
- Updated for D3 version 4.
-
Add functions
trichart()
, for plotting trinomial probabilities in an equilateral triangle, andhistchart()
, for plotting histograms (as curves). -
dotchart
can takegroup
vector in data, to color points by category. -
Handle missing values in
group
inadd_curves
,add_points
, andcurvechart
. -
In
add_points
, allowpointcolor
to be longer than the number of groups. -
Reduce digits in example data files.
-
Add more information to error messages.
-
Remove a big chunk of extraneous code from
curvechart
. -
Add points() accessor to
add_curves
andcurvechart
.
-
Change accessors in
heatmap
,lodheatmap
, andlod2dheatmap
(.cellSelect()
to.cells()
) -
Clean up chartOpts comments
-
Fix a bunch of bugs
-
New functions
add_points
andadd_curves
. (scatterplot
andcurvechart
now call these two functions.) -
panelframe
scatterplot
,dotchart
have additional accessors.xNA()
and.yNA()
that indicate whether missing values on the x and y axes are handled in separate boxes. -
Renamed some options for
curvechart
:linecolor
andlinewidth
rather thanstrokecolor
andstrokewidth
. -
Fix bug in
mapchart
relinecolorhilit
option -
Depend on D3 version 3.5.17
-
Include dependencies in
bower.json
- Completely rewritten, changing the functions' usage and data
structures, and encapsulating everything into a
d3panels
object. See the documentation.
- Assign a class to the d3-tip tool tips.
- Implement
chart.remove()
to avoid proliferation of tool tips.
- Deal with changes to d3-tip
- Initial release