Releases: d3plus/d3plus
Releases · d3plus/d3plus
v2.1.3
v2.1.2
v2.1.1
v2.1
- upgrades all dependencies to latest, which includes all of the new module exports
v2.0
v2.0 of d3plus marks the first public release of all of the various modules that have been in development (and production) over the past few years. This update includes 3 substantial upgrades:
- better default visual styles
- updated all d3 packages to their latest version
- updated popper.js to latest version
The following items have updated visual styles, so your designs may change if you are not already overriding the following items in your visualization configs:
- larger
fontSize
for axis tick labels - lighter
gridConfig:stroke
color on axes - custom
legendPosition
andcolorScalePosition
based on width/height ratio ("right"
in landscape,"bottom"
in portrait) - automatic Bar labels in
BarChart
(inside Bar if space is available, outside if not) legend
inBarChart
andTreemap
is set tofalse
if the items shown matches the items in the legend- default
curve
for Line and Area shapeConfig has been changed from"linear"
to"monotoneX"
- default
colorDefaults.dark
color changed from#444
to#555
(used for most text labels) - new default colors when assigning colors automatically
- new default color scale
- colorScale
scale
changed from"linear"
to"jenks"
- legend
fontSize
is smaller - legend
width
/height
changed from10
to12
- larger title
font-size
for tooltips - tooltip backgrounds changed from white to light gray
- completely removes all
controls
methods (considering deprecating d3plus-form in favor of users defining their own controls) - sets axis title automatically if user used a String to define the axis and has not specified a title
- adds a small buffer to numeric axes
- hides repetitive tick labels in non-grouped BarCharts
In addition to the style changes, the following updates to the underlying d3 libraries will effect anyone backpacking off of the d3plus dependencies in their projects:
mouse
no longer exists in d3-selection. switch to usepointer
, and provide it the currentevent
as it's first argument- the global
event
object no longer exists, it is now passed along to the current function being run as a forth argument(d, i, x, e)
- the latest d3 modules adopt some ES6 usage (most notably
Set
/Map
). your code must be run through a transpiler to support older browsers.
v1.9.8
- runs default mouse behavior if user-defined function returns true (closes #447) (b3326fc)
- updates color scale when changing the ID solo (closes #509) (73156c8)
- fixes “fixed” time axes (6bc523c)
- updates devDependencies (5e1cb8f)
- fixes missing container console message (closes #258) (85800b9)
- fixes scrollbar require in tooltip (#528) (b517f5f)
- make the Legend boxes sort order to be configurable based on application logic (#529) (924bf44)
- adds domain override to .color( ) scale (closes #523) (3133e81)
- updates es_ES translations (e5a1480)
- fixes READEME splash image (ab12c25)
- adds “none” stroke to legend container rectangles (d5bda90)
- adds Slack badge to README.md (6d73a5a)
- makes the Legend Tooltip (short mode) have a configurable title (#518) (0ee733a)
- corrects issue caused by muting nodes that have edges between them. (#517) (258b962)
- fixes line stroke-width behavior (61b9448)
- fixes line stroke changing when mouse set to false (e9285bf)
v1.9.7
- adds specific "margin" property to .axes( ) (21b5e34)
- fixes displaying custom agg functions in tooltips (closes #510) (fd87481)
- adds mouse axis tooltip to discrete axis (closes #508) (570321e)
- fixes manually overriding time axis ticks and labels (#508) (6cdabba)
- fixes sorting of discrete string axis (closes #502) (004dd27)
- fixes issue with single-entry discrete number axis (closes #485) (dd0b9c7)
- fixes issue with flipping y-axis (4350a7b)
- adds catch to only resize if values have changed (49dcfe0)
- fixes width resizing on small charts (closes #503) (e0d48aa)
- makes the tooltip (short mode) have a configurable max number of children (#488) (b780a17)
1.9.6
1.9.5
1.9.4
- fixes label backgrounds in rings and box (dd8cd6c)
- updates gulp-connect dev dependency (a1e6f4e)
- adds manual domain for size scale (closes #460) (5a6779f)
- adds support for non-zero bar chart axes (closes #480) (9090844)
- fixes multiple heatmaps overwriting eachother (closes #477 & #481) (120a0a2)
- sorts axis tick numbers in numeric order (477fc81)
- adds localizations for box plot (35b5185 & 29a4c8e)
- adds German localization (0dcbb7c)
- fixes line to scatter transition (closes #465) (679ad43)
- adds a unique ID to each data group (closes #466) (7ab5715)
- fixes custom textwrap split logic... again (#427) (54d8a61)
- adds "data" boolean to .legend( ) (6417f75)