Releases: d3plus/d3plus
1.9.3
1.9.2
- @bryanph: Fix require() bundling (#315) (a1457e8)
- adds "output" key to format params for axis labels (a909703)
- @bryanph: adds resize support for D3 selections (#433) (c4e5238)
- fixes hide/isolate buttons (0603b18)
- fixes tree map percentages and closes #218 (3a5a8bf)
- removes period from default textwrap split (closes #442) (f72193d)
- adds textwrap support for multiple spaces (8bc3e1e)
- @iamakulov: Remove deprecated SVGElement.offsetHeight property (ddea7c4)
- adds new "area" type (closes #284) (43a6020)
1.9.1
- fixes IP address textwrapping (closes #427) (814ee6a)
- fixes edge label background in IE (#428) (f7a973a)
- fixes back button position in IE (closes #428) (e62dee4)
- removes y axis labels from box plot (closes #426) (b793c34)
- adds text stroke catches for use with canvg (dea78a6)
- Merge pull request #422 from bryanph/patch-2 (4e8a3d6)
- change numeric to numeric.js (20cbfbf)
- adds back button to rings and sankey (92fc754)
- mouse pointer now only appears when clickable (c396cf3)
- fixes rotated bar chart label positioning on redraw (0da2ebb)
- redetects width/height when set to false (7c2c9af)
1.9.0 - "Cornflower"
Long time no see. This release brings with it a few new visualization types and a plethora of bug fixes. Thanks to everyone for their patience with this release, as things have been a bit hectic for us the past few months.
This release will also (probably) be the last major release before 2.0. We've started separating the different facets of the library into separate modules (check out the new text wrap module), and you can expect more news coming in the next few months outlining the roadmap.
Highlights
- new "radar" visualization type: live example
- new "sankey" visualization type: live example
- shapes can now be given a custom .class( ) for their DOM elements (#379)
- a custom stroke width can now be given to individual lines in a line plot using the .size( ) method
- text wrapping now supports manual line breaks using
\n
(#362) - if the .text( ) key is set, bar charts will use that text as a label directly inside the bar (#354)
- adds share percentage to pie chart tooltips
- adds proper .id( ) nesting to pie charts
Axes Improvements
- x/y charts now support a second axis with the new .x2( ) and .y2( ) methods
- "ticks" of .x( ) and .y( ) now support being passed a custom array of values to be use for tick marks (#312)
- axis tick labels can be set using an array of values or turned off completely by setting the "labels" of the advanced "ticks" object for .x( ) and .y( ) to
false
- adds a "ticks" boolean to .axes( ) which will toggle the small data ticks seen in scatter plots
- adds a "spacing" (ie. css letter-spacing) option to the font styles of each axes "axis", "label", and "ticks"
- the "size" and "position" of bars in a bar chart can now "persist" across each discrete bin
Grab Bag
- adds a "labels" boolean to .legend( ) to turn off text labels inside of legend squares
- the "size" property of the .legend( ) "font" object now accepts an array of sizes for textwrap resizing
- new "fullscreen" boolean in .tooltip( ) that allows large tooltips to be appended to the document body (instead of the container element)
- new "stacked" boolean in .tooltip( ) that allows HTML content to always appear stacked underneath the data in large tooltips
- large tooltips can now be closed by pressing
ESC
- smarter logic for label colors on dark backgrounds
- the "key" to be used inside of a Topojson object can now be manually set in .coords( )
- all D3 map projections are now supported in .coords( ), in addition to custom projection functions (#240)
- d3plus.util.closest now supports string comparison
- new cross-browser page scroll position detection with d3plus.client.scroll
- adds Korean (
"ko_KR"
) formatting and translations - switches ordering of yellow and blue in the default color scale
Bug Fixes
- fixes vertical alignment of text in circles (#412)
- d3plus.string.title would capitalize the string after an apostrophe (was
Reese'S
but is nowReese's
) - fixes some textwrapping issues with ampersands
- fixes a Microsoft Edge textwrapping x positioning bug (#402)
- fixes bubble sorting (#417)
- .legend( ) now properly sorts by "id" (#369)
- fixes problems where UI would break with a
0
number id - form elements now correctly inherit all parent styles and formatting
- geo map labels now update correctly on redraw
- "value" can now be passed as an advanced .coords( ) object property (#383)
- a couple of small speed boosts to geo maps
- a TON of bar chart discrete axis fixes
- fixes right-to-left textwrapping
- mouse tooltips now hide while panning or scrolling
- "axis" in the .x( ) and .y( ) methods now refers to the correct axis (#403)
- d3plus.client.ie now correctly detects IE11 and Edge
- a handful of other IE and Firefox bugs
As with all large releases, there's bound to be bugs we've missed. Keep those Issues coming in!
1.8.0 "Cerulean"
This release warrants a nice version number bump, as it brings in the most requested feature: custom mouse events. As an example, to override the click event for all shapes you would write:
.mouse({
"click": function(d, viz) {
console.log("clicked!");
}
})
Or, to turn off ALL mouse events:
.mouse(false)
Full documentation can be found here.
Full Highlights
- All mouse events can now be toggled off or overridden with user-defined functions using the new .mouse( ) method (#140).
- The width of the boxes in a Box Plot can now be manually set using .size( ) (#359).
- Custom timeline height now works (#342).
- Fixed issue with monthly timelines.
- Chart axes now correctly draw after having no data (#352).
- Fixed some bugs where certain solo and mute filters weren't working (#347, #351).
- Added
coffeeify
transform to the browserify package configuration (#353 thanks @Id0rman). - Fixed some edge case edge bugs (heh).
- Fixed an edge case coordinate filtering bug.
- Drop down forms now correctly use custom formatting.
- UI enter/update bug has been fixed (#356).
- Status messages now respect the user-defined background color.
- Updated dependencies.
1.7.4
- Fixed issue with child nodes appearing in the wrong sub-group (#327).
- New advanced option for the legend: by turning on "filters" the legend tooltips will have show/hide buttons for that color grouping (#261).
- New advanced option for data tooltips: by setting the "sub" parameter, data tooltips can display a sub-title based on a key in the data (#340).
- Fixed bug where tree map squares would not let you click to zoom when there was only 1 child element (#270).
- Tooltip "including" values are now aggregated correctly and displayed in descending order.
- Fixed a problem when parsing integer year values.
- Fixed bug causing timelines with a lot of ticks and very little horizontal space to error out (#333).
- Fixed bug with using custom time formatting.
- d3plus.number.format now correctly handles very small numbers (#338).
- d3plus.string.title is now much smarter and has better support for non-roman characters (#334).
- Added Portuguese localization (thanks @flaviolpp!).
- Added a "branding" parameter to .messages( ), which is off by default. This new behavior adds a small "powered by D3plus" logo underneath all large message displays. We've added this in an effort to help gain awareness of the platform, with the hope of growing the community even further. In one of the next major releases, we may have this on by default, but there will always be an option to disable it.
1.7.3
- Added Russian localization.
- Modified the default min and max font sizes when resizing text wrapping.
- Removed some unnecessary trailing zeros from the default number formatting.
- Fixed some bugs related to added buffers to the x and y axes.
- The "threshold" behavior of .size( ) now defaults to
false
. - Group labels in Bubble visualizations now resizes to fit the available space.
1.7.2
- Added Spanish and French localizations.
- Updated Portuguese localizations.
- More uppercase and lowercase text exceptions added for title formatting.
- Number formatting now respects locale (for example, comma/decimal separators).
- The number and text format functions are now passed a complex object instead of just the key as the second variable.
- Networks with no data have a more appropriate default node size.
- Stacked Area Charts with many thin areas now render faster.
- Fixed a lot of bugs regarding mirrored axes.
- Passing
true
to .csv() will now return the raw user data. - Fixed some edge-case text wrapping bugs.
- Fixed some display bugs with x-axis labels.
- Fixed some bugs with legend tooltips.
- Removed some duplicate percentage signs in titles.
1.7.1
1.7.0 "Viridian"
This update has been in the oven for a long time, and we're glad to finally get it out of the door. There aren't any standout new features with this update, but a lot of small bug fixes and improvements have been made. Here are the highlights:
- Fixed a plethora of text wrapping bugs (including #251 #253).
- Much better timelines. They reference the time axis if it exists in the visualization, and the display of larger timelines is much cleaner. Assitionally, there is now a play button by default (#122).
- Box Plot IQR and Extent values are now put into tooltips by default. They can each be disabled using the .tooltip( ) method (#296).
- Custom time formatting now works as expected (#259).
- Fixed a bunch of axis/time bugs (#260, #267, #269).
- Fixed some bugs with d3plus.string.title (thanks @Jabher #247 #248).
- Tooltips can be disabled alltogether by passing
false
to .tooltip( ) (#263). - Fixed issue with Geo Map paths not updating their color with new data.
- Fixed Geo Map labels persisting after switching to a different visualization type.
- Fixed some issues with the .csv( ) method (thanks @jspeis #300 #301 #302).
- d3plus.color.lighter now takes saturation into account when lightening colors.
- Reversed the UI coloring in Forms.
- Keyboard arrows now work in drop forms (#134).
- Ordering is now fixed in visualizations.
- Default visualization sorting is now descending.
- Icons can now be toggled on/off in the legend.
- .format( ) now accepts a lookup dictionary of affixes to be used before/after number formatting.
- If using a custom number formatting function, you must now explicitly append
"%"
to any "share" number. - Tweaked precision in the default number formatter (share numbers in Tree Maps look better now!).
- Speed and reliability improvements in regards to data nesting and the legend.
- Fixed an issue with custom data aggregations.
- Fixed various bugs with donut shapes and custom segment fills.
- Titles and sub-titles now support being passed a function (#252).
- Fixed an issue with the x position of visualization titles.
- Status Message positioning can now be set manually.
- Fixed issue where large tooltips would disappear on hover in Chrome for Windows.
- Created d3plus.network.distance to calculate the distance between 2 points.
- Updated dependencies.