Skip to content

Releases: d3plus/d3plus

1.9.3

06 Apr 21:41
Compare
Choose a tag to compare
  • reduces title height constraight to half-height (7c846b7)
  • fixes line charts with 0 values (closes #456) (8a8f807)
  • adds undefined/null/false check to number format (0e85912)
  • fixes another offsetWidth dep (#431 closes #457) (5215434)
  • adds strength value to Sankey tooltips (af544de)

1.9.2

24 Mar 14:15
Compare
Choose a tag to compare

1.9.1

19 Feb 21:23
Compare
Choose a tag to compare
  • 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"

13 Feb 05:01
Compare
Choose a tag to compare

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 now Reese'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"

15 Aug 19:26
Compare
Choose a tag to compare

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

1.7.4

18 Jun 21:51
Compare
Choose a tag to compare
  • 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

15 May 18:19
Compare
Choose a tag to compare
  • 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

07 May 19:14
Compare
Choose a tag to compare

1.7.1

14 Apr 21:46
Compare
Choose a tag to compare
  • Fixed an issue with textwrap baseline-alignment (#311).
  • Fixed a bug with automatic node positioning in Networks.
  • Added the Portuguese translation for "Box Plot" (thanks @dgomes2004!)

1.7.0 "Viridian"

10 Apr 04:05
Compare
Choose a tag to compare

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.